You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scss.scannerExclude is good but it's hard to exclude all .scss files locations, especially in big project that use many additional plugins, modules and themes. Normally all that's required is to scan only the file(s) used by the user directly + all the imports. For example let's consider Prestashop app. It has all kinds of styles in many locations like /admin123xyz/themes, /modules, /vendor, /themes/classic etc. and this extension is scanning all of them and adds them to intellisense. This is pointless and barely helpful as it suggests many variables unavailable for my .scss file I'm working on. It should be possible to simply set this in my worskapce:
which would scan only this location and if scss.scanImportedFiles: true then it should also scan everything imported in this file along with all further imports based on scss.scannerDepth even outside scannerRoot location. Nothing irrelevant to this location should be scanned and suggested by intellisense.
The text was updated successfully, but these errors were encountered:
SharakPL
changed the title
scss.scannerInclude required for better scanning
Limit scanning to only relevant locations instead of whole workspace
Mar 11, 2022
scss.scannerExclude
is good but it's hard to exclude all .scss files locations, especially in big project that use many additional plugins, modules and themes. Normally all that's required is to scan only the file(s) used by the user directly + all the imports. For example let's consider Prestashop app. It has all kinds of styles in many locations like /admin123xyz/themes, /modules, /vendor, /themes/classic etc. and this extension is scanning all of them and adds them to intellisense. This is pointless and barely helpful as it suggests many variables unavailable for my .scss file I'm working on. It should be possible to simply set this in my worskapce:.vscode/settings.json
{ scss.scannerRoot: "themes/my-new-theme/src/scss" }
which would scan only this location and if
scss.scanImportedFiles: true
then it should also scan everything imported in this file along with all further imports based onscss.scannerDepth
even outside scannerRoot location. Nothing irrelevant to this location should be scanned and suggested by intellisense.The text was updated successfully, but these errors were encountered: