Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I think either it's not supported or I'm just too stupid. In this case I'd prefer the last one. I'm using Firebug to do my .css editing. Now I've got the problem that I've got to edit some pretty big css-files (few thousand lines of code). So I would like Firebug to display line numbers. Is that possible? If yes, how?

share|improve this question
    
hmm, I hoped this would be an easy one. –  xor_eq Jul 16 '10 at 6:48
add comment

4 Answers

up vote 3 down vote accepted

I also would have thought this was an easy one, but it appears not.

This is apparently open issue 2153 on the Firebug issue list, with a type of Enhancement, a status of Triaged, and no owner. I suggest you (and anyone else who wants this functionality) go star this issue to show that people care.

share|improve this answer
add comment

I'm not quite sure I understood the question fully. With what feature did you need line numbers?

When you inspect an element firebug splits into two panels. The right panel has 4 tabs: Style, Computed, Layout, and DOM. When selected, the Style tab will have the style information along with the document and the line number that it appears on positioned to the far right of that panel. Clicking on the file name or line number will pull open the CSS tab to show the style in the context of the css file.

share|improve this answer
    
line numbers are pretty standard in code viewers. Mostly, it's because you have changed some css and you need to open your editor and change it there. –  Scott Schulthess Aug 13 '11 at 20:57
add comment

I am not sure I understand your question, but Firebug allows you to see the css file and the line of each css style in HTML -> Style.

share|improve this answer
add comment

See the current graphic on the Get Firebug landing page:

Line numbers are displayed under "Script" but if a user attempts to see line numbers under HTML they are not available.

My guess is that the line numbers are not necessary in the HTML view. Personally I don't use line numbers when using Firebug.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.