Skip to content
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

splitting cell results in incorrect cell language #2762

Closed
jonsequitur opened this issue Feb 21, 2023 · 3 comments
Closed

splitting cell results in incorrect cell language #2762

jonsequitur opened this issue Feb 21, 2023 · 3 comments

Comments

@jonsequitur
Copy link
Contributor

jonsequitur commented Feb 21, 2023

Steps to repro:

  • Create a notebook with the default kernel of F#
  • Create a cell and set the cell language to JavaScript
  • Enter the following code into the cell:
    x = 1;
    console.log(x++);
    
  • Put the cursor at the end of the first line.
  • Trigger command Notebook: Split cell

Expected:

  • Two cells, both JavaScript

Actual:

  • Two cells, the first is JavaScript and the second is F#.

image

Likely related: #2752

@AbhitejJohn
Copy link
Contributor

Seems like a related issue to this has been closed perhaps by changes on the VS Code side. Does that mean this is addressed as well?

@jonsequitur
Copy link
Contributor Author

This issue is still present.

@AbhitejJohn
Copy link
Contributor

This has been addressed with #2796

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants