Feature request: define include paths
See original GitHub issueI would like to be able to configure include paths so that @import
statements can reference the correct file.
Consider the following configuration:
"scss.includePaths": ["src", "global/lib"]
And a .scss
-file:
@import 'variables';
The following paths (relative to project root) would be considered as valid imports (and the intellisense would also recognize the first match as the actual import):
src/variables.scss
src/_variables.scss
global/lib/variables.scss
global/lib/_variables.scss
Does this seem reasonable?
PS. Discovered this extension today, loving it so far. Keep up the good work!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:48
- Comments:13
Top Results From Across the Web
Feature Request: uVision Automatically add header file to group
Feature Request : uVision When I am writing an application I like to have the ... Yes, like there are Include Paths that...
Read more >allow include search path to propagate upward from ...
[SOLVED] Feature request: allow include search path to propagate upward from dependencies (i.e., be like cmake).
Read more >GitLab CI/CD include examples
The following example shows an include file that is customized in the .gitlab-ci.yml file. Specific YAML-defined variables and details of the production job...
Read more >c_cpp_properties.json reference - Visual Studio Code
includePath An include path is a folder that contains header files (such as #include "myHeaderFile.h" ) that are included in a source file....
Read more >Feature Request: target_include_files() - Development
First post so please let me know if I've broken some rule. Is there any way to add files in the same manner...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We need this for projects made with Angular. We define in the configuration file the folder where SASS has to resolve all the
imports
. Example (angular.json):On a component style:
4 years and this is still a feature request?
This is so important for scss development!