Commit graph

120 commits

Author SHA1 Message Date
Rob Lourens accf5ae359 Add Jupyter language with JSON syntax highlighting
#128495
2021-08-06 15:51:29 -07:00
Rob Lourens 1dae051c56 Change exportNotebook API to return string 2021-08-05 17:14:47 -07:00
Rob Lourens 2a933e4505 Add ipynb extension API to invoke the serializer.
So the jupyter extension can implement custom Export functionality, and can dump an unsaved notebook
#128495
2021-08-05 12:14:08 -07:00
Rob Lourens 190a89dd1b Port unit tests from vscode-jupyter to ipynb extension
#129446
2021-08-03 11:19:22 -07:00
Rob Lourens 9539f015b1 Split up ipynb serializer file 2021-08-02 19:16:20 -07:00
Rob Lourens 7caab9b3bc Serializer cleanup 2021-08-02 18:58:07 -07:00
Don Jayamanne e8192ca6e3 Temp: swtich image rendering pref from svg to png 2021-07-29 11:44:08 -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
Joyce Er adf904df67 ipynb: fix readme 2021-07-27 13:54:19 -07:00
Rob Lourens 26625e8fb3 Fix incorrect buffer slices 2021-07-26 11:39:49 -07:00
Don Jayamanne 754b1defb0 Fix save error 2021-07-23 17:10:22 -07:00
Don Jayamanne 7f43ac34a1 re-use text encoder 2021-07-23 17:10:22 -07:00
Don Jayamanne 739cc8974f Fix ipynb serializer 2021-07-23 17:10:20 -07:00
Joyce Er 4e5d793a78 ipynb extension need not handle NotebookDocument and NotebookCell
Co-authored-by: rebornix <penn.lv@gmail.com>
2021-07-23 17:07:17 -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 2bc4f8f94b Simplify TextDecoder call 2021-07-21 15:18:04 -07:00
Rob Lourens 35cc9582a4 Fix serializer buffer slice 2021-07-21 15:03:41 -07:00
Rob Lourens 6ed3b6cc0e Clean up ipynb serializer 2021-07-21 15:03:37 -07:00
Rob Lourens 5793ae026a Rename serializer extension and set up build scripts 2021-07-21 15:03:24 -07:00