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.
Update CSS Styles view such that it understands CSS files produced by SASS 3.3 compiler with --sourcemap option, i.e., make sure that the navigation to source SASS files works for such CSS files.
Implemented by: http://hg.netbeans.org/web-main/rev/c41f598892e3 http://hg.netbeans.org/web-main/rev/beee576de6e3
I'm afraid I have to reopen, I've tried latest trunk and web-main build and it doesn't work for me. I'm attaching sample project. Once I run it, CSS Styles do not indicate that CSS is coming from Sass files, Go To source from CSS Styles navigates to CSS not SCSS etc. Product Version: NetBeans IDE Dev (Build web-main-11515-on-20130901) Java: 1.7.0_40; Java HotSpot(TM) Client VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 139551 [details] sample project where it doesn't work
I am able to reproduce the problem using the attached project. The root of the problem seems to be quite simple. Your compiler generates /*@ sourceMappingURL=newstyle.css.map */ into the CSS file while mine generates /*# sourceMappingURL=newstyle.css.map */ for some reason (note # instead of @). You test-case works fine when I modify the CSS file and replace this letter. I will modify the corresponding code to handle both cases.
Weird, all tutorials I've found shows also # form, although Chrome Dev Tools works with fine @
Fixed by http://hg.netbeans.org/web-main/rev/1ee490b35781
Thank you. I've found in [1] that @ is an old form replaced with newer # due to browser compatibility issues. [1] https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?hl=en_US