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.

Bug 229077 - Link to SASS file does not jump to the right place in source
Summary: Link to SASS file does not jump to the right place in source
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 13:44 UTC by Petr Jiricka
Modified: 2013-04-26 17:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2013-04-26 13:44:14 UTC
1. Download the SCSS sample project from http://wiki.netbeans.org/wiki/images/e/ee/SourceMapsExample.tar.gz, and open it in NetBeans
2. Set up the SASS processor path in IDE options, and output mapping for Sass in project properties - use .:. as the pattern for CSS Output Folders field.
3. Run the app in browser with NetBeans integration
4. Open index.html and place the caret inside the first div

Problem 1: Applied styles window displays a link to "style.scssstyle.scss:12" rather than just "style.scss:12"
Problem 2: Clicking this link opens style.css, not style.scss
Comment 1 Jan Stola 2013-04-26 17:07:08 UTC
I was able to reproduce Problem 2 on both Ubuntu and Windows using a daily build few days old. I was not able to reproduce Problem 1 on Windows but I was able to reproduce it on Ubuntu with the daily build from April 24th. Both problems seems to be fixed in the build from the latest sources.

In fact, I have encountered Problem 2 two days ago and fixed it yesterday by http://hg.netbeans.org/web-main/rev/01d07006182b It is caused by some corrupted information sent by Chrome. Happily, the needed information is in a redundant form in the problematic message and can be extracted from a different place (of the message) as a workaround.