We reuse the syntax highlighter from
http://code.google.com/p/google-code-prettify/. So you want to get
your extension added to that project, and then let me know when its in
SVN so I can pick up an updated version and bring it into Gerrit.
2010/8/31 Shawn Pearce <s...@google.com>:
CoffeeScript highlighting is in the trunk now:
http://code.google.com/p/google-code-prettify/source/detail?r=114
Cheers,
Cezary Bartoszuk
Looks like google-code-prettify supports multiple languages via extensions? https://code.google.com/p/google-code-prettify/source/browse/trunk/src/ has a big list. My current Gerrit 2.6 installation does not seem to support Go (golang if you're googling this message). What do I have to do to add it?
On Thursday, August 15, 2013 1:34:30 AM UTC+2, JT Olds wrote:Looks like google-code-prettify supports multiple languages via extensions? https://code.google.com/p/google-code-prettify/source/browse/trunk/src/ has a big list. My current Gerrit 2.6 installation does not seem to support Go (golang if you're googling this message). What do I have to do to add it?prettify is used in old change screen. Is is considered to be deprecated and is going to be removed.The new syntax highlighting engine is codemirror and is used in change screen 2.And of course codemirror has support for Go language and what not [1].
We still have to find a way to activate optional codemirror addons or replace sensible defaults likevim keyboard binding with emacs. Ideally we could configure it per Gerrit site and/or on user preference page.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.