eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.84k stars 2.48k forks source link

Improve support for creating new notebooks #13696

Closed msujew closed 3 months ago

msujew commented 3 months ago

What it does

Allows extensions to use the openNotebookDocument method with the content argument that is supposed to populate newly created notebooks.

How to test

  1. Run the New File... command from the menu
  2. Use New Jupyter Notebook
  3. The created notebook should have a single, empty Python language cell

Note that in the current behavior, the new cell is marked with the Markdown language.

Review checklist

Reminder for reviewers