-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Feedback: Cannot resolve to SCSS partial files #49
Comments
Okay, now I can offer you to try the new version of the extension. Now is beta, but I need feedback. https://github.com/mrmlnc/vscode-scss/releases/tag/0.7.0 How to install:
|
still only kind of works. variables show up, mixins only super slowly. i am using foundation with the foundation-cli |
@phifa, thanks for comment! I'll work on performance in the next version (the plugin will cache directories). Now we need to fix the working with imported files. |
In more advanced setups, some scss imports might not be written with full path in the scss file itself. If included via webpack or gulp, etc. import paths could be in a *.js or *.yml file as well. Now wouldnt it make sense, if we could somehow tell the extension which include paths it needs to crawl in addition to the obvious scss folder/files? If you set up a new foundation site and transpile it via gulp, the import paths to the bower_components folder are directly in the gulp file for example. |
My issue was resolved by adding all my imports into one file, then importing that file into my html page. _styles.scss: main.scss: and inside index.html linking main.min.css I'll need to test further. One thing I do pickup in this release is that peeking into or using the go-to function defines most of the variable usages but scss reads from the VSCode history file in this example. _base.scss. If I exclude the history folder from vscode-scss the reference as you see in the link will be lost. So that means it's not reading _base.scss nor picking up every variable, which is odd |
Any updates on this issue? |
I also cannot get any IntelliSense for files I |
Just five words about the current status of this plugin. Now I have finished working on a package that will speed up indexing of the project directory. I want to work on universal code-base for similar plugins (Less + SCSS) in the first half of this year. At the same time, I plan to solve most of the problems of both plugins. Right now this point (the beginning of works) is written down in my road map for the middle of March or the beginning of April. In February, I need my time to a few higher priorities for me. Sorry. P.S. Maybe your problem were fixed in the non-published tag |
Anybody else working with https://github.com/zurb/foundation-sites/ and experiencing the same issue with paths? |
I'm also getting errors from importing partials. Please please please fix this. In SCSS you are not required to include the underscore or extension in the file name when importing partials. (the underscore before a SCSS file indicates that it's a partial) So when I import a file like this... @import 'path/to/file'; Which is perfectly valid SCSS that imports the That really sucks because partials are an important part of SCSS. If you could please include support for recognizing partials that are imported without the underscore and extension that would be a great help. Just to clarify and sum up the problem, here is what needs to be changed...
|
@nmsmith22389 It's funny because I have exactly the opposite of your reported issue :D |
I'm using the beta version in #49 (comment)
My partials are imported without underscore, like this |
Having the same issue as described by @premitheme . Last update was a year ago, any news since then? v.0.7.0 seems to fix And to clarify, writing |
This is already fixed by @mrmlnc's commits for 0.7.0. I added integration test for it. This will be released under 0.8.0. |
Original issues:
The text was updated successfully, but these errors were encountered: