[gmx-developers] gerrit syntax highlighting for CUDA/OpenCL sources

Szilárd Páll pall.szilard at gmail.com
Wed Apr 10 15:46:13 CEST 2019


Hi,

Traditionally, syntax highlighting of .cu/.cuh/.clh files has been a bit of
a pain and I've always had to manually visit the diff preferences every
time I opened one of these files and set C++ or C in the "Language"
drop-down.

While the new interface with the recent upgrade is a decent improvement
that almost made me switch, they removed the ability to manually set the
language in the diff view prefs. Reviewing CUDA and OpenCL without syntax
highlighting is too much of a pain, so I thought I'd ask:
- does anybody had a workaround?
- does anyone know of a plugin or server-side config that would allow
implementing a workaround e.g. permanently mapping these sources to have
C++ syntax highlighting?

Cheers,
--
Szilárd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20190410/947dbd4c/attachment.html>


More information about the gromacs.org_gmx-developers mailing list