sublime-markdown-extended icon indicating copy to clipboard operation
sublime-markdown-extended copied to clipboard

c++ highlighting not working

Open codecypher opened this issue 11 years ago • 8 comments

Hi,

I can't get code fencing for c++ code to work correctly. It's working for javascript, html, css and shell.

I'm using ```cpp like the other syntaxes. Just to make sure, I switched to view syntax as c++ to make sure ST3 is configured correctly.

Thanks in advance.

codecypher avatar Feb 26 '14 22:02 codecypher

hmmm, I don't work with c++ but it might be that need to install a sublime text syntax package first...? For example, handlebars highlighting doesn't work until the handlebars package is installed. if that's not the issue, I'll try to look into it more

jonschlinkert avatar Feb 26 '14 23:02 jonschlinkert

No, c++ syntax highlighting is builtin to ST3. Is there something else needed?

Jeff

On Feb 26, 2014, at 6:17 PM, Jon Schlinkert [email protected] wrote:

hmmm, I don't work with c++ but it might be that need to install a sublime text syntax package first...? For example, handlebars highlighting doesn't work until the handlebars package is installed. if that's not the issue, I'll try to look into it more

— Reply to this email directly or view it on GitHub.

codecypher avatar Feb 27 '14 00:02 codecypher

C++ syntax highlight doesn't work properly with ST2, Inconsistent Comments are not highlighted always.. temp

thisizkp avatar Sep 19 '14 11:09 thisizkp

The same thing happened to me. It doesn't work for c++ syntax on Sublime Text 3.
I installed C++11 package and disabled builtin package.
But it doesn't work for both of them.

riteme avatar Aug 13 '15 05:08 riteme

@riteme are you saying it doesn't work in general, or just with this package?

jonschlinkert avatar Aug 13 '15 06:08 jonschlinkert

@jonschlinkert It doesn't work in general.

riteme avatar Aug 13 '15 09:08 riteme

if someone wants to do a pr for this that would be great. I don't write c++ and would have very little perspective as to what looks right

jonschlinkert avatar Oct 12 '15 10:10 jonschlinkert

Anyone has solved this problem now? The same thing happened to me :-(

chenyanzhe avatar Oct 27 '15 02:10 chenyanzhe