Closed gremo closed 3 years ago
Can you share your HTML & CSS codes? Currently it works like this: It doesn't included node_modules by default, but if your HTML or CSS files explicitly import css files from node_modules, it will be included, so you can find definitions even for codes in the node_modules.
May be we can make it works better, like not include node_modules only for the global symbol searching? Never mind to give your idea.
Hi @pucelle, sure. I included (actually imported in my main.scss
) bootstrap main SCSS file from node_modules
. So you confirm that even if node_modules
is excluded, it's the default behaviour to get auto-complete from that folder?
I really don't know if this can help, but the idea (for me) to get this extension to work was:
.scss
; when SCSS is heavly based on mixins and loops, this extension can't do muchmain.css
file (the compiled version of main.scss
file)This because main.css
will already include all necessary css/scss from node_modules
.
Hi,
.scss
is the main functionality of this plugin, but you can set the file types to included with setting activeCSSFileExtensions
, just refer to https://github.com/pucelle/vscode-css-navigation#configurationnode_modules
. So I guess I would design a new configuration to handle it.I added a new option alwaysIncludeImportedFiles
, you can set it to false
to ignore all the things in node_modules.
Clean installation, as you can see
node_modules
folder is not excluded. Is this a bug?