Open Bug 352331 Opened 18 years ago Updated 5 months ago

Prettyprinting (syntax highlighting) for CSS

Categories

(Toolkit :: View Source, enhancement)

enhancement

Tracking

()

People

(Reporter: ian, Unassigned)

References

(Blocks 1 open bug)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-UK; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-UK; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2 View source does not currently appear to know how to do syntax highlighting CSS. This would be a very useful feature for web developers. Lots of open source editors can do this already, so it probably wouldn't be too hard to find a suitable highlighting method to copy. I guess this could possibly extend to viewing text/css or .css files as well without using View Source. (I find it hard to believe that there is not already a bug for this, but I really couldn't find anything like it in Bugzilla) Reproducible: Always
Marking this as new because I didn't find any simmilar matches after a few searches. If this is a duplicate them please re-mark it. -- Ryan
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
It would also be nice if the syntax highlighting is extended to the CSS content embedded in HTML source.
Product: Firefox → Toolkit
Severity: normal → S3
Blocks: 1183344

The topic of syntax highlighting came up in a discussion among hobbyist web makers and developers in which I was a facilitator today.

I wanted to add to the record to affirm there is ongoing interest in having syntax highlighting for CSS and JavaScript files. This is especially helpful for beginners who may use view source to better understand web pages, and to developers who want to read an entire CSS and JavaScript file on its own, independent of the additional tools in the debugger.

You need to log in before you can comment on or make changes to this bug.