Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax highlighting for .H and .C extensions

Leonard Li March 19, 2019

The following line was added to bitbucket.properties file for Bitbucket server 5.15.0:

     syntax.highlighter.text/C++.extensions=C,H

to handle .C and .H files. But no syntax highlighting was done to these extensions after the server restarted. Any suggestions? Thanks.

1 answer

0 votes
Leonard Li March 19, 2019

mime: text/x-c++src does the trick.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events