Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .