Disabling editor.semanticHighlighting disabled ALL syntax highlighting for C# in polyglot
mika76 opened this issue · 0 comments
Describe the bug
I have been struggling to find out why my syntax highligting does not work for c#. I create a branch new polyglot .dib notebook, choose C#, start typing in a cell and there is no syntax highlighting.
I though let me check if it's my extensions, so I create a new clean profile in vscode with no extensions and started adding them one by one (polyglot being the first) - and lo and behold the sytax highlighting started working. Enabling more and more extensions didn't seem to turn it off, so I though maybe it's a custom setting. I looked into my original user settings and noticed "editor.semanticHighlighting.enabled": false, - I switched this to true and now syntax highlight works fine.
Looking into https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide this switch is not supposed to turn off ALL syntax highlighting.
I think this is related to #3549, #2683 and maybe #2827,
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):
- OS
- Windows 11
- [X ] Windows 10
- macOS
- Linux (Please specify distro)
- iOS
- Android
- Browser
- Chrome
- Edge
- Firefox
- Safari
- Frontend
- Jupyter Notebook
- Jupyter Lab
- nteract
- Visual Studio Code
- Visual Studio Code Insiders
- Visual Studio
- Other (please specify)

