Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Filter by Sass debug comments #21

PeteOnTheGitHub opened this Issue Jan 9, 2013 · 3 comments


None yet
2 participants
Copy link

PeteOnTheGitHub commented Jan 9, 2013

Great program!

Outputing sass/scss with --debug-info param in the command line

Adds this sort of thing above each rule defining where its from in your css:

@media -sass-debug-info{filename{font-family:file://Z:/public_html/}line{font-family:\0000384}}

Fire bug with the sass add-on can use this to display the name of the sass file the rules comes from.

It would be awesome if this was part of the css-x-fire reduce strategy as a filter.
Filter by debug-info. So it would be similar to match file name but would actually only change the correct sass file.

The reason for this enhancement would would fix the case when you have one control sass file that has a bunch of imports.


This comment has been minimized.

Copy link

ronniekk commented Jan 11, 2013

Sounds interesting. Not sure though how the "sass add-on" plays together with Firebug internally (I assume you are refering to the add-on FireSass?)


This comment has been minimized.

Copy link

PeteOnTheGitHub commented Jan 14, 2013

Yes I was referring to FireSass and I don't know that either. In fact I am just assuming it uses the --debug-info as it doesn't work without it and --debug-info adds file and line information to the sass compiled css files.

ronniekk added a commit that referenced this issue Feb 3, 2013


This comment has been minimized.

Copy link

ronniekk commented Feb 3, 2013

I implemented it so that "Filter by file name" uses the filename displayed in Firebug, regardless if it is created by Firebug or overridden by FireSass. So if you have FireSass enabled, the filename from sass_debug_info will be used. In all other cases it will work like before.

Available in CSS-X-Fire 1.33

@ronniekk ronniekk closed this Feb 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.