Commit graph

10276 commits

Author SHA1 Message Date
Johannes Rieken 79f90304be refine completion provider for context keys, https://github.com/microsoft/vscode/issues/9303 2021-02-17 15:21:45 +01:00
Johannes Rieken 5870204e95 make notebook and cell metadata classes, https://github.com/microsoft/vscode/issues/116333 2021-02-17 14:19:49 +01:00
Johannes Rieken 13070015bd expose context key info command, add first version of completion item provider for package.json and keybindings.json files, https://github.com/microsoft/vscode/issues/9303 2021-02-17 11:52:28 +01:00
Rob Lourens 90f5ef65a0 Delete notebookTestMain 2021-02-16 21:07:55 -08:00
rebornix 79b8259abb change cell language with cell change events. 2021-02-16 19:41:30 -08:00
rebornix b3f8737839 fix #116808. 2021-02-16 16:40:51 -08:00
rebornix b0bd28137a add test for #115855. 2021-02-16 16:40:51 -08:00
rebornix 1267767472 fix #116598. broadcast output items change. 2021-02-16 14:59:58 -08:00
Johannes Rieken ac916cbb2d don't assert rpc strictness yet 2021-02-16 09:32:37 +01:00
Johannes Rieken d9c653c8b6 increase default timeout for event waiting, fixes https://github.com/microsoft/vscode/issues/116704 2021-02-15 17:17:10 +01:00
João Moreno 4077a67914
adopt focus border across all core themes 2021-02-15 14:29:36 +01:00
Johannes Rieken ac5b7117ec assert no rpc in notebook doc test 2021-02-15 12:52:54 +01:00
Johannes Rieken 059edf4166
Merge pull request #116685 from microsoft/job/nbtests
Move notebook tests
2021-02-15 12:35:19 +01:00
Johannes Rieken cc4d7e8a11 update (restore) language test for new cells 2021-02-15 11:52:14 +01:00
Johannes Rieken 196bf678a1 reset dirty state when reverting a notebook, update extension host when dirty state of a notebook (working copy) changes 2021-02-15 11:44:51 +01:00
Johannes Rieken 5236d34460 run active editor test only when having focus 2021-02-15 11:40:21 +01:00
Ladislau Szomoru 992cf6bd44
Update node-fetch (#116560) 2021-02-13 10:28:08 +01:00
Rachel Macfarlane 2f277cb41e Add github session telemetry event 2021-02-12 15:39:04 -08:00
Jean Pierre 1170b3158e
Emmet: add output.reverseAttributes option (#116088)
Fixes #110251
2021-02-12 20:54:57 +00:00
Raymond Zhao 7661c8e35c Move emmet to emmetio/emmet npm dependency, fixes #110697 2021-02-12 20:13:54 +00:00
Johannes Rieken 2d6c2d0b2d wip - move notebook integration test into our normal API test extension 2021-02-12 19:17:03 +01:00
Johannes Rieken 52f633d19c some 💄, some API todos 2021-02-12 19:08:34 +01:00
Rachel Macfarlane 14669c2e45 Make scopes parameter optional to getSessions and remove getAllSessions 2021-02-12 09:13:11 -08:00
Martin Aeschlimann 59008059d2 add devcontainer associations to configuration-editing 2021-02-12 11:04:47 +01:00
Johannes Rieken 868fb4c39f rename CellKind to NotebookCellKind 2021-02-12 10:25:12 +01:00
Johannes Rieken 215cd17276
Merge pull request #116443 from microsoft/joh/kernelLanguages
Add support for kernel#supportedLanguages
2021-02-12 10:09:21 +01:00
Matt Bierner 96718c6fe8 Add back build-notebook script 2021-02-11 17:21:30 -08:00
Matt Bierner 9b4f1aff5d Enable inline html tags in notebook markdown
Fixes #113351
2021-02-11 17:21:30 -08:00
Rachel Macfarlane 263d4b75e2 Fix getSessions for microsoft auth provider 2021-02-11 16:46:47 -08:00
Rachel Macfarlane eceff53351 Rename login/logout to createSession/removeSession 2021-02-11 16:46:47 -08:00
Rachel Macfarlane 650906c369 Pass scopes through to authentication providers 2021-02-11 14:15:36 -08:00
Rachel Macfarlane 9118a3461c Make onDidChangeSessions event for auth providers fire complete session 2021-02-11 10:14:28 -08:00
Johannes Rieken e498c28de1 Merge branch 'master' into joh/kernelLanguages 2021-02-11 16:45:39 +01:00
Johannes Rieken 6c92a6605c Merge branch 'master' into notebook/outputs 2021-02-11 15:03:41 +01:00
Johannes Rieken ccc28e3726 Remove languages property from NotebookData and NotebookDocument 2021-02-11 14:21:40 +01:00
Matt Bierner 6dd156d04b Support drag and drop copy for markdown cells
For #116393

Also removes some logging and improves drag/drop responsiveness
2021-02-10 17:37:51 -08:00
Matt Bierner 35f855796b
Add support for markdown notebook renderers (#115191)
* Use shared webpack version instead of installing locally for simple-browser

* Use npm for building markdown preview

* render markdown in webview.

* update markdown preview height and offset

* Add basic custom notebook renderer point

* update css

* style update.

* update markdown header padding left

* Add example of loading katex to extend the markdown-it renderer

* Rename global to make clear it only applies to markdown-in

* hide/remove markdown preview

* Add wait for initial markdown preview rendering before showing notebook

* Add double click to switch to editing mode

* Fix markdown cells not getting updated after editing

* style polish

* notebook.experimental.useMarkdownRenderer

* switch render strategy.

* Adding very intial drag drop support for notebook markdown cells

* Implement drag/drop stubs for test classes

* Revert unrelated file changes

* Move markdown notebook math to own extension

* Add missing imports

Co-authored-by: rebornix <penn.lv@gmail.com>
2021-02-10 16:41:53 -08:00
Matt Bierner 3dc8cb1afc Add setting to enable/disable returns generation in jsdoc
Fixes #116282
2021-02-10 12:20:01 -08:00
Johannes Rieken b881f37fcc Merge branch 'master' into notebook/outputs 2021-02-10 18:20:40 +01:00
Matt Bierner fe6eb68d22 Pick up latest TS insiders 2021-02-09 17:47:32 -08:00
Matt Bierner 91a20c06b9 Use npm for building markdown preview 2021-02-09 17:47:32 -08:00
Matt Bierner ba7d28d53c Use shared webpack version instead of installing locally for simple-browser 2021-02-09 17:47:32 -08:00
Shunsuke Iwamoto 76524ef589
Fixes 114236: Add a multi-line comment regex to unIndentedLinePattern (#114478)
* Add a multi-line comment regex to unIndentedLinePattern

* Add multi-line comment block indentation tests

* Fix a multi-line comment block indentation test
2021-02-09 17:05:21 -08:00
Connor Peet 9070508076
Merge branch 'connor4312/refactor-test-states' 2021-02-09 16:15:16 -08:00
Connor Peet 3d4cabb608
testing: refactor to new runState API
Fixes: https://github.com/microsoft/vscode/issues/115101.
See issue for details.

- Adopts the new API
- Test results now persist across reloads (last 64 runs).
- Removed state grouping in favor of sorting option.
- Code lenses are disabled for now
2021-02-09 16:12:37 -08:00
rebornix 11b885de68 Merge remote-tracking branch 'origin/master' into notebook/outputs 2021-02-09 09:27:49 -08:00
Alex Ross 327e25fdc2 Add portsAttributes to devcontainer.json
Part of microsoft/vscode-remote-release#4445
2021-02-09 16:51:05 +01:00
Alexandre Schnegg 2678e4b848
Only match exactly 7 equals (fixes #95040) 2021-02-09 10:35:10 +01:00
Matt Bierner 87a3effc79 Try to disable caching in the simple browser's iframes 2021-02-08 21:31:04 -08:00
rebornix bd47ac847c auto save ... 2021-02-08 16:57:09 -08:00