Milys / NC-Gcode-VSCode

GCode Syntax Highlighter for VSCode
MIT License
14 stars 7 forks source link

Plugin Ruins CPP Header Syntax Highlighting #2

Open bitsy opened 5 years ago

bitsy commented 5 years ago

VSCode Version: 1.32.3 (1.32.3) macOS Version: 10.14.4 (18E226)

Hi there,

Took me awhile to figure this out, but it seems that this plugin practically disables all syntax highlighting for C++ header files. For some reason it overrides the C++ syntax highlighting and appears to treat header files (.h) as G-Code files. Can anybody else replicate this issue? Is there an easy fix?

I program in C++ regularly, so having proper syntax highlighting is a non-negotiable. I do not wish to constantly enable/disable the plugin in order to use it.

cleveHEX commented 5 years ago

In VS Code, there is such option in bottom bar just click the C (in my case) and change it to whatever you want:

image

You can also set per workspace plug-in disable.

PrimeTime416 commented 1 year ago

Thank you.

foxalabs commented 1 year ago

lmao, spent a year just thinking .h files were not highlightable... bahaha, thanks