path-autocomplete
path-autocomplete copied to clipboard
Pug includes autocomplete
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
At the moment the path-autocomplete.triggerOutsideStrings is a global setting.
Does it cause a lot of issues in the other files ?
I have not tested yet about other issues, but it sounds reasonable for me to restrict that behaviour in certain file extensions.
@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