
FireRainbow
javascript syntax highlighting for Firebug
Features
- Mixed syntax highlighting powered by CodeMirror
- Javascript
- HTML
- CSS
- Advanced features:
- Color theme can be modified using Firebug's CSS panel
- Highlighting is applied incrementally (good performance)
- Color themes available on GitHub
- Uses WebWorkers to perform parsing in a non-blocking fashion
Compatibility
Both Firefox and Firebug are moving targets. Please make sure you use compatible versions. I'm unable to test all possible combinations.
- Version 1.5 is tested to work with official Firebug 1.5 - 1.9 (Firefox 3.5 - 11.0)
show compatibility of older versions ↓
- Version 1.4 is tested to work with official Firebug 1.5, Firebug 1.6 and Firebug 1.7, also should be compatible with beta Firebug 1.8 (Firefox 3.5 - 5.0)
- Version 1.3 is tested to work with official Firebug 1.5, Firebug 1.6 and Firebug 1.7 (Firefox 3.5 - 4.0)
- Version 1.2 is tested to work with official Firebug 1.5 and Firebug 1.6 (Firefox 3.5 - 4.0)
- Version 1.1 is tested to work with official Firebug 1.5 (Firefox 3.5 and 3.6) <- it is not compatible with Firebug 1.4 anymore!
- Version 1.0 is tested to work with official Firebug 1.4 (Firefox 3.0 and 3.5)
- Version 0.9 is tested to work with official Firebug 1.3
- Version 0.8 is tested to work with alpha Firebug 1.3
- Version 0.7 is tested to work with official Firebug 1.2
Installation
Install this Firefox extension via addons.mozilla.com.
You need Firebug 1.5+ for the latest version to work.
Troubles?
If you are still stuck with Firebug 1.4, install version 1.0.
If you are still stuck with Firebug 1.2, install version 0.7.
Note: Some people have reported they are unable to download and install the extension via addons.mozilla.com. In this case you may try this workaround.
Install bleeding edge version from sources
git clone git://github.com/binaryage/firerainbow.git
cd firerainbow
rake
If everything went ok, you should be able to find your fresh XPI under build/firerainbow-X.Y.xpi
.
You can install XPI file in Firefox by opening it via File -> Open File ...
Themes
Themes are available at http://github.com/binaryage/firerainbow/tree/master/themes
Feel free to fork the project and contribute your very own theme.
Changelog
Contributors
- Marijn Haverbeke - this extension uses his great CodeMirror for javascript/html/css parsing.
History
v1.5 (07.01.2012)
- fixed compatibility with Firebug 1.9
- by default do not override font settings from Firebug
v1.4 (26.06.2011)
- marked as compatible with Firefox 5.*
- fixed compatibility with Firebug 1.8
v1.3 (30.04.2011)
- marked as compatible with Firefox 4.0
- updated CodeMirror to v1.0
v1.2 (02.11.2010)
- compatibility with Firebug 1.6 and early Firebug 1.7 alpha
- updated CodeMirror to v0.9
- CodeMirror wrapped into its own namespace (should resolve conflicts with other extensions)
- using WebWorkers to compute highlighting (better performance)
- fixed bug when coloring was not triggered for file when scrolled to the top
v1.1 (20.01.2010)
- fixed Firebug 1.5 compatibility and dropped Firebug 1.4 compatibility
- marked as compatible with Firebug 1.6
v1.0 (24.05.2009)
- robust colorization of compressed scripts with long lines (previously parser halted)
- updated parser to CodeMirror 0.61
- new home for themes in github project
- compatibility with Firebug 1.4
v0.9 (29.01.2009)
- updated parser to CodeMirror 0.60
- fixed glitch when script didn't get colorized on first display in Firebug 1.4
- tested to work with official Firebug 1.3 and Firefox 3.0.5 (worked also with alpha Firebug 1.4 and nightly Firefox 3.1)
v0.8 (15.11.2008)
- reimplemented for changes in Firebug 1.3 (not compatible with Firebug 1.2 anymore)
- added "Reset to default Color Preset" feature
- changed extension guid, to distinguish from 0.7
v0.7 (27.08.2008)
- added mixed HTML/CSS/JS coloring
- added "Randomize Color Preset" feature
- when installed with old firebug, error message is written into Firefox's error console
- fixed bug preventing proper coloring in some rare cases
v0.6 (14.06.2008)
- public beta release
- hacked first version for Firebug 1.2