Home Download Buy Blog Forum Support

Goto definition in S3 with SASS?

Goto definition in S3 with SASS?

Postby Lukk on Wed Aug 14, 2013 3:02 pm

Hi there,

Is there any way to make goto definition work with sass? whenever I select a class inside my html and I go to the definition it will only show me .css files but no .scss files. Thanks!
Lukk
 
Posts: 12
Joined: Sun Mar 18, 2012 1:41 pm

Re: Goto definition in S3 with SASS?

Postby vistago on Wed Aug 14, 2013 6:32 pm

I had some luck with the instructions given here: https://github.com/P233/Syntax-highligh ... /issues/15

Which just involves adding the following to the SASS Symbol list file:

Code: Select all
<key>showInIndexedSymbolList</key>
<integer>1</integer>
<key>symbolIndexTransformation</key>
<string>/[#.]([A-Za-z0-9_~]+)/$1/;</string>


The problem is that you can't disable the indexing for CSS, which makes things very confusing.
vistago
 
Posts: 7
Joined: Thu Jan 19, 2012 5:19 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 16 guests