You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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. ):Screenshots
"editor.semanticHighlighting.enabled": false
"editor.semanticHighlighting.enabled": true
The text was updated successfully, but these errors were encountered: