Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have Bugzilla installed on Ubuntu Server. Is that possible to add syntax highlight to Bugzilla comments (for C++ code)? Now code pasted in comments looks not well formatted and it makes harder to understand it.

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

No, unfortunately that's not yet implemented, though people have asked for it:

Last Comment Bug 358987 - Show attachments with colored syntax highlighting in certain views

An alternative might be to put a code highlighting tool into your browser. There are at least tow Firefox add-ons which do that:

CodeViewer: https://addons.mozilla.org/de/firefox/addon/6855

CodeSnippet: https://addons.mozilla.org/de/firefox/addon/9113

They let you select code in a web page and display it with highlighting.

share|improve this answer
    
Firefox plugin is not an option. May be there are available onofficial syntax highlight patches? –  jia3ep Jun 30 '09 at 17:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.