interactive icon indicating copy to clipboard operation
interactive copied to clipboard

New cells use notebook default language instead of previous cell language

Open jonsequitur opened this issue 1 year ago • 5 comments

When creating a new cell, the default language is the notebook's default language.

It is expected to be the same language as the previous cell, e.g. in the following screen shot in a notebook whose default language was set to C#, the second cell should be javascript.

image

Related: #2752, #2762

jonsequitur avatar Mar 03 '23 16:03 jonsequitur

Hi @jonsequitur

I couldn't repro this issue (animated gif below). Did I miss a step? github-2794-cannot-repro

ocallesp avatar Mar 06 '23 04:03 ocallesp

@ocallesp : You'd likely want to create a C# cell after the first js cell and then create a new cell after that. The 3rd cell should be C# and not js.

AbhitejJohn avatar Mar 06 '23 17:03 AbhitejJohn

I updated the issue description to be hopefully a little clearer.

jonsequitur avatar Mar 06 '23 17:03 jonsequitur

Assigned this issue to @brettfo since he already has a PR ready for review. github-2794-repro

ocallesp avatar Mar 06 '23 19:03 ocallesp

This issue is regressed. I noticed it in the following extension version:

Version: 1.0.520801+1e5d205f82c7f5bb1b2e5ce60c680491552cfa23 Library version: 1.0.0-beta.24208.1+1e5d205f82c7f5bb1b2e5ce60c680491552cfa23 Build date: 2024-04-09T18:58:49.1321131Z

jonsequitur avatar Apr 17 '24 22:04 jonsequitur