-
Notifications
You must be signed in to change notification settings - Fork 396
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
Language detection disappears when this extension kernel is enabled #3119
Comments
so is the lack of code completion or void of syntax highlight is suppose to be this way as well, this makes it less appealing to work with. |
I found the solution from another user @akselkvitberg you have to manual enable it in the settings, "editor.semanticHighlighting.enabled": true,
"editor.suggestSelection": "first",
"editor.suggest.snippetsPreventQuickSuggestions": true,
"editor.acceptSuggestionOnEnter": "smart",
"editor.quickSuggestions": {
"comments": "on",
"strings": "on",
"other": "on"
},
"editor.suggestOnTriggerCharacters": true, |
@symisz Thank you, but how is there not a fix for this yet if the problem has been around since 2022. @jonsequitur - can something be done here? |
If you're not seeing syntax highlighting and code completion, that is a bug and it's unrelated to the language chooser details above. I'm unable to repro the lack of syntax highlighting described in #3113. Completions work for most languages but not currently for JavaScript. |
Highlighting seems to work now for some reason, completion works for C# but not JavaScript. Do yo you plan on implementing it for JS at some point considering you are have it select-able in polyglot but it's not working as intended? |
Yes, we do plan to fix this. |
The main issue raised here is about the kernel chooser behavior which is intentionally different for Polyglot Notebooks than from other notebook extensions, so I'm closing this issue. For JavaScript code completions, please refer to #3123. |
creating a notebook file *.ipynb enables a language mode selection, this work when the extension is disabled.
once enabled, renders the selection to only two options which are "code" and markdown.
environment & screenshots
.NET Interactive 7
Windows 11
Visual Studio Code
Screenshots
Without kernel active:

With kernel active:

The text was updated successfully, but these errors were encountered: