path-autocomplete icon indicating copy to clipboard operation
path-autocomplete copied to clipboard

Pug includes autocomplete

Open AntonGrekov opened this issue 6 years ago • 3 comments

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

AntonGrekov avatar Jul 10 '19 11:07 AntonGrekov

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

mihai-vlc avatar Jul 10 '19 16:07 mihai-vlc

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

AntonGrekov avatar Jul 11 '19 13:07 AntonGrekov

@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

af4jm avatar Mar 20 '21 00:03 af4jm