Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pug includes autocomplete #64

Open
AntonGrekov opened this issue Jul 10, 2019 · 3 comments
Open

Pug includes autocomplete #64

AntonGrekov opened this issue Jul 10, 2019 · 3 comments

Comments

@AntonGrekov
Copy link

Hey there, thx for your extenstion. I like it.
But i cant get it to work with pug/jade template language.

In pug writing file to include goes without "

like this: include helpers/mixins/filename.pug

i found this pretty option to get this working
path-autocomplete.triggerOutsideStrings

is there a way to enable option above only in ".pug" files so i don't sacrifice other files ?

Thank you

@mihai-vlc
Copy link
Owner

At the moment the path-autocomplete.triggerOutsideStrings is a global setting.
Does it cause a lot of issues in the other files ?

@AntonGrekov
Copy link
Author

I have not tested yet about other issues, but it sounds reasonable for me to restrict that behaviour in certain file extensions.

@af4jm
Copy link

af4jm commented Mar 20, 2021

@AntonGrekov in VSCode settings, you can use language-specific blocks... e.g.

"[pug]": {
    //settings defined here apply only to the pug filetype
}

and yeah, I know this is ancient, but putting it out there in case it helps someone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants