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.
Created attachment 144506 [details] webkit log Please try: - open attached project - make sure Sass compiler is set up and modify scss/newstyle.scss and save it - css file is recompiled - run it in Chrome with NB integration (chrome version see below) - in Browser DOM window, select <div> element => CSS Styles window no longer indicates that the color property comes from Sass file: - in Applied styles, it shows newstyle.css:0 as origin of the "div" rule - tooltip texts in Properties and Applied Styles section point to CSS file - Rule editor section is missing the red label saying that the property comes from compiled source - BUT Go To Declaration opens Sass file as expected. The same works in embedded browser and in Chromium (see below) Chromium: Version 31.0.1650.63 Chrome: Version 32.0.1700.77 Product Version: NetBeans IDE Dev (Build 201401290001) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b66 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b125 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 144507 [details] IDE log
Created attachment 144508 [details] sample project
I am able to reproduce this problem using Chrome 34 and NetBeans 8.0. On the other hand, this works correctly in the latest development build. The root of this problem was the same as the root of issue 241098. The search for the mapping between the generated CSS file and SASS file failed because of the missing source line information (caused by the change in the protocol). > BUT Go To Declaration opens Sass file as expected. Yes, this is surprising at the first sight, but Go To Declaration uses a bit different algorithm than the other mentioned areas of web inspection. Go To Declaration, being a not very frequent explicit user action, uses a more heavy-weight algorithm with some heuristics (solving various bugs in various WebKit versions). Hence, it works even in this situation. I am marking this issue as fixed because it was fixed together with issue 241098.
Thank you, verified NetBeans IDE Dev (Build 201407080001)