This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | CSS code completion broken in scss file when @import is used | ||
---|---|---|---|
Product: | web | Reporter: | JanGen |
Component: | CSS Preprocessors (SASS, LESS, ...) | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | luk123, tmysik |
Priority: | P1 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
JanGen
2015-11-25 14:57:47 UTC
In Less files also. Code completion does not work even when the edited file is imported in another file. Windows version NetBeans IDE 8.1 (Build 201510222201). Hi JanGen, luk123, can you please better describe steps, because I cannot reproduce this behavior. * I have newstyle.scss empty file * I write @import "another.scss" * I have still cc (I can press @ and then i have @import, or font-size in .test{}) * I create empty another.scss * I have error in another.scss like @import() I always have cc. I tested Product Version: NetBeans IDE 8.1 (Build 201510222201) and Product Version: NetBeans IDE Dev (Build 20160530-85aba4aa859e) Maybe it's related to symlinks (outside project dir). My setup is style.scss that imports __bootstrap.scss that imports @import "bootstrap/type.scss"; @import "bootstrap/code.scss"; And the bootstrap map is a symlink to a sass map in a bootstrap git directory. TEST FAILED * test.scss * imports a symlinked import.scss outside project dir -> no CC TEST PASSED * test.scss * imports a symlinked import.scss in project dir -> CC So I think it is related to symlinks outside the project dir. This is similar bug as Bug #251715 . It should be fixed with http://hg.netbeans.org/web-main/rev/edc6089ccf79 . At least your case is now working now, when symlink is inside project folder and it's original file outside. |