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.


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.

  • Firefox plugin is not an option. May be there are available onofficial syntax highlight patches? – Kirill V. Lyadvinsky Jun 30 '09 at 17:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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