Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.12
-
Component/s: Source code viewer
-
Labels:None
-
Number of attachments :
Description
A basic algorithm would be enough and very useful in a first time to get a more readable source code :
- All key words of the language with color1
- All String (between "") with color2
- All comments with color3
- In java, all javadoc with color4
Clover reports are good examples.
Issue Links
| This issue is related to: | ||||
| SONAR-631 | Add a way to navigate across sources in the Sonar interface |
|
|
|
| SONAR-1083 | Ability to colorize Javadoc tags |
|
|
|
It can be done with following javascript libraries :
They support many languages (Java/PHP...) and are extendable.
- http://code.google.com/p/syntaxhighlighter/
- http://alexgorbatchev.com/wiki/SyntaxHighlighter
They support many languages (Java/PHP...) and are extendable.