Commit Graph

28 Commits

Author SHA1 Message Date
Matt Bierner
1895178d00 Finalize notebookWorkspaceEdit api (#159613)
Fixes #155245
2022-08-30 15:36:40 -07:00
Michael Lively
9225503c85 Support for pasting images into markdown notebook cells (#156847)
* dataflow support for updated metadata

* update cellAttachmentRenderer.ts to reflect metadata being a getter() inside MarkupCell

* document paste additions

* update condition to re-render cells, now includes metadata changes

* paste API working, debugging command added

* paste working with metadata. needs numbering, and cleaning upon delete

* paste screenshot works fully

* remove debugging command. Cleaning.

* notebook cells now re-render upon metadata changes

* changed name validity checking, remove unneeded function

* use _document for cell data, use snippet choice, dto fix

* return subscription, for loop, uri fix, alter metadata in-place, better snippet

* metadata fix, object.equals, fix cellAttRenderer metadata call

* added comment with source of encodeBase64

* gate mkdn image paste behind experimental setting
2022-08-08 13:57:49 -07:00
Michael Lively
2077ae5120 fix package.json/esbuild.js for files in publish 2022-07-26 12:19:27 -07:00
Peng Lyu
e6ad5f0a6f Update ipynb yarn lock (#156004) 2022-07-22 23:26:14 +02:00
Michael Lively
63142212a1 remove md-it dependency, added undefined check to attachments 2022-07-20 16:10:54 -07:00
Michael Lively
ff31f6b577 Update package.json 2022-07-20 15:01:40 -07:00
Michael Lively
3981a5804c added build stuff 2022-07-20 12:23:37 -07:00
Michael Lively
0fa857c9a1 okay now things are actually fresh and working 2022-07-20 12:23:24 -07:00
Matt Bierner
45304da73d Finalize NotebookEditor api proposal (#149767)
* Finalize NotebookEditor api proposal

Fixes #149271

This finalizes most parts of the NotebookEditor api proposal. I haven't removed the proposal entirely as there are still a few parts being left behind:

- The deprecated properties/functions
- A few contribution points such as `notebook/cell/executePrimary`

* remove extra quote
2022-05-23 23:27:17 +00:00
Matt Bierner
ff975bc211 Update list of enabled APIs (#149838)
We use `notebookWorkspaceEdit` even though it's not enforced
2022-05-18 10:39:40 -07:00
Matt Bierner
c9c5990e38 Adopt notebookWorkspaceEdit proposal internally (#149778)
This switches us to use the new `notebookWorkspaceEdit` proposal instead of `notebookEditorEdit`
2022-05-17 18:51:25 -07:00
Johannes
9530dca29d finalize notebookDocumentEvents-API, https://github.com/microsoft/vscode/issues/144662 2022-04-20 13:58:37 +02:00
Johannes
b1faab40de adopt tests to new notebook change event 2022-03-29 11:58:54 +02:00
Joyce Er
31c338e5fa Fix https://github.com/microsoft/vscode/issues/146022 2022-03-24 22:31:50 -07:00
aamunger
3b9868b099 include 'create notebook' in the command pallette 2022-03-09 13:39:16 -08:00
rebornix
998ee04a72 update nbformat typings 2022-03-01 12:59:58 -08:00
rebornix
3567a2f2bc Show codelens to ipynb json to open in notebook editor 2022-02-18 14:54:40 -08:00
rebornix
4b17d05668 re #142872. Contribute ipynb notebook to File -> New when no Jupyter extension enabled. 2022-02-16 11:42:45 -08:00
rebornix
cca25256a3 remvoe jupyter(json) 2022-02-15 17:45:09 -08:00
Rob Lourens
e9ca473f62 Change jupyter language name
to make it more clear that it is for raw JSON, not a notebook
2021-11-17 11:42:42 -08:00
Johannes Rieken
09c9d4c293 use enabledApiProposals instead of wildcard property, also update compilation units to only include d.ts-files that are needed, https://github.com/microsoft/vscode/issues/131165 2021-11-12 11:05:57 +01:00
Don Jayamanne
79a3586d6c Add cell_ids for ipynb with nbformat >= 4.5 (#134835) 2021-10-12 09:35:05 -07:00
Sandeep Somavarapu
961c2e353d remove web extension kind in builtin extensions 2021-09-01 15:09:21 +02:00
Rob Lourens
accf5ae359 Add Jupyter language with JSON syntax highlighting
#128495
2021-08-06 15:51:29 -07:00
Rob Lourens
282dd872e2 Fix #129502.
Builtin extensions are stricter and require "web" set for web extensions
2021-07-27 16:00:09 -07:00
Peng Lyu
4148736349 Migrate webview notebook editor backup to builtin serializer (#129211)
* Migrate webview notebook editor backup to builtin serializer

* update extension kind.

* discard webview backup once it is opened in notebook editor.
2021-07-23 16:25:37 -07:00
Rob Lourens
437f5b7559 ipynb: Prefer "workspace" to"ui"
and "web" is inferred from the browser entrypoint
2021-07-23 09:16:09 -07:00
Rob Lourens
5793ae026a Rename serializer extension and set up build scripts 2021-07-21 15:03:24 -07:00