Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio Code not highlighting #if.. in C #602

Closed
alexr00 opened this issue Aug 9, 2022 · 2 comments
Closed

Visual Studio Code not highlighting #if.. in C #602

alexr00 opened this issue Aug 9, 2022 · 2 comments

Comments

@alexr00
Copy link

alexr00 commented Aug 9, 2022

Type: Bug

"#if 0//" >>> OK, but "if0 //" >> not highlighting

VS Code version: Code 1.70.0 (da76f93349a72022ca4670c1b84860304616aaa2, 2022-08-04T04:38:16.462Z)
OS version: Windows_NT x64 10.0.19044
Modes:

Extensions (12)
Extension Author (truncated) Version
monokai-charcoal-high-contrast 74t 3.4.0
doxdocgen csc 1.4.0
better-cpp-syntax jef 1.15.19
vscode-language-pack-ko MS- 1.70.8030922
cmake-tools ms- 1.11.26
cpptools ms- 1.11.4
cpptools-extension-pack ms- 1.2.0
hexeditor ms- 1.9.8
LiveServer rit 5.7.5
vscode-autohotkey sle 0.2.2
cmake twx 0.0.17
material-theme zhu 3.15.2

(4 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912:30529769
vsclangdf:30486550
c4g48928:30535728
hb751961:30541207
dsvsc012:30540252

Originally from @skybank00 in microsoft/vscode#157458

@welch-s
Copy link

welch-s commented Sep 17, 2022

microsoft/vscode#161180

@jeff-hykin
Copy link
Owner

Sorry to keep shuffling the issue around but this should be its final resting place:
jeff-hykin/better-c-syntax#4

As a temp fix you can highlight C code using C++ highlighting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants