-2

I'm using codenvy.com for a c++ project and it works great. My problem is h files are not syntax-highlighted. How can I change setting to get nicely highlighted h files?

Thank

1 Answers1

0

Try changing the ".h" to ".hpp" or ".hh". Some people like to distinguish between C headers (.h) and CPP headers (.hpp/.hh).

  • Initially I thought that this didn't answer the question, but a google for 'codenvy header' indicates that codenvy has an issue with .h headers https://github.com/codenvy/codenvy/issues/1980 – Paul Floyd May 31 '18 at 11:37
  • @PaulFloyd Thanks, That is healpfull. – Ehsan Hemmati Jun 01 '18 at 16:00