- VSCode Version: 1.52.1
- OS Version: Windows 10 20H2
Steps to Reproduce:
- create a .cpp file and write "#elif"
WHY?:-
- all conditional Preprocessor Commands, #if, #else, #endif, #ifdef, #ifndef are inside keyword.control.directive.conditional (eg. keyword.control.directive.conditional.ifdef)
- But #elif is inside keyword.control.directive, (like this: keyword.control.directive.elif)
- Shouldn't #elif's textmate scope be under keyword.control.directive.conditional too like the others?
I have fixed this by modifying cpp.tmLanguage.json
At Line 12683 if you add elif beside the other #if #ifdef #ifndef preprocessor commands, this gets fixed
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
WHY?:-
Does this issue occur when all extensions are disabled?: Yes