Ask a Question

Provide facility to add new language syntax highlighting

Provide facility to add new language syntax highlighting

We're reviewing source code in a language that is not currently supported by Collaborator (Ada). It would be useful to be able to add a language syntax highlighting definition. There are other tools, e.g. Ultraedit, that do this with a simple text file that lists keywords against formatting options (colour, bold etc). The filename extensions are then mapped to the language definition.

4 Comments
TanyaYatskovska
SmartBear Alumni (Retired)
Status changed to: New Idea
 
mark_pettigrew
Occasional Visitor

+1

 

https://highlightjs.org/ offers HTML support via JS for 135 languages and 65 styles.  See https://github.com/isagalaev/highlight.js/tree/master/src/languages for complete list.

 

See https://highlightjs.org/usage/ for usage and how to integrate into app.  For collaborator, this looks like it would integrate very well into your technology.  Supports language extensions as well.

JCollier
Moderator
Status changed to: Accepted for Discussion
 
mtalexan
Senior Member

They just implemented this in Collaborator 11.0.11000

Announcements
Welcome to the Collaborator Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here