1119: Syntax Highlighting inside diff view
- NotABug
- Review Board
sebastie*********@gmai***** (Google Code) (Is this you? Claim this profile.) | |
May 13, 2009 |
What version are you running? 1.0 RC1 What's the URL of the page this enhancement relates to, if any? Diff view pages. Describe the enhancement and the motivation for it. It could be nice to add a functionality to get a syntax highlighting of the code (keywords like if, then, else, function names, etc...) for widespread languages (C++, Python, Java...) and an easier way to add other languages as plugins. Is this something already planned ? I could not find it in the issues list.
It already exists. Make sure you have Pygments installed and Syntax highlighting enabled in Settings and for your user.
-
+ NotABug
Yes sorry it was working, it's just that the default highlighting is not really what I expect. I modified the htdocs/rb/css/syntax.css file to render it the way our team like. Is there a cleaner way to do it ? Will this modification be overwritten at the next RB upgrade ? Thank you