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

Allow scanninng only specific location instead of whole workspace #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SharakPL
Copy link

@SharakPL SharakPL commented Mar 11, 2022

Fixes #153

Adds option "scss.scannerRoot": "". Default value is empty string - in this case whole workspace is scanned. It allows to set more specific location where files should be scanned instead of messing up intellisense with duplicated variables from other locations in the workspace. Example:

/your/workspace/.vscode/settings.json

{
  scss.scannerRoot: "themes/my-new-theme/src/scss"
}

This will scan only .scss files in /your/workspace/themes/my-new-theme/src/scss so you can remove all paths from scss.scannerExclude array that are outside scss.scannerRoot location

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

Successfully merging this pull request may close these issues.

Limit scanning to only relevant locations instead of whole workspace
1 participant