-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
working notebook cell language select #13615
Conversation
Also fixing notebook enter in notebook cell editors Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
9eb3432
to
2b1d91f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/editor/src/browser/editor-language-quick-pick-service.ts
Outdated
Show resolved
Hide resolved
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
@msujew it works fine for me at least for all cells except the first. But the reason for that seems to be a bigger one. Seems like the preferred cell language is not set correctly by the extensions. Havn't figured out why yet |
Signed-off-by: Jonah Iden <jonah.iden@typefox.io>
@msujew forget that i found the culprit. Should work now. At least it does for me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, works for me perfectly as well now 👍
What it does
This allows clicking the language on the bottom right of notebook cells and change the cell language.
For this it moves some of the editor-command code to select a code language to its own service
Also fixes a small but pretty substantial problem with notebook cells and not being able to create new lines when pressing enter
How to test
Open a notebook.
Create a multi line cell check that enter works correctly
Click on the language tag in the lower right corner of the cell and change the language
Follow-ups
Review checklist
Reminder for reviewers