Skip to content

vscode.dev cell languages not working properly #143315

@alyssajotice

Description

@alyssajotice

Version: 1.64.2
Commit: f80445a
Date: 2022-02-09T22:00:24.333Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36 Edg/98.0.1108.50
OS Version: Windows 11

I am working on Live Share notebook support in vscode.dev. Notebook cell language modes are not working properly on web. When the guest opens a cell, the language identifier is displayed rather than the language itself. No language services are present and the cell is not able to be run. Changing the cell to a built-in language type solves the problem. We do not have this issue on the desktop client.

This gif shows the language showing up as the incorrect name and not being able to run it. The host is able to run the cell:
language-wrong-name

This gif shows that when you change the language to CSS, the cell becomes enabled and you can run it:
change-language-run

When the guest opens the notebook, we return an object that has NotebookData. Each cell in the list has a languageId that would be dotnet-interactive.csharp in this example. How can we get these cell types to show up properly on web?

cc @rebornix

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions