Commit Graph

1042 Commits

Author SHA1 Message Date
Matt Bierner
32acfdde2a Correctly set webview active state on restore
Fixes #145648
2022-04-05 16:43:54 -07:00
Matt Bierner
c60ec4e4ce Mark tree drag api arrays are readonly
This makes is more clear that you can't modify the drop/drop mime types arrays to update them
2022-04-05 11:06:36 -07:00
Logan Ramos
053084e592 Implement group closing tabs API 2022-04-04 15:02:22 -04:00
Matt Bierner
44ffeba237 Switch to provider based model for on drop
This simplifies implementing the provider and also give potentially gives us more control over how the drop happens
2022-04-01 15:51:38 -07:00
Johannes
5055dbe2f8 Merge branch 'main' into joh/snippetTextEdit 2022-03-31 09:25:37 +02:00
Connor Peet
14a318068c testing: disentangle test item collection from exthost for use in tests
Fixes #141921
2022-03-30 14:57:46 -07:00
Logan Ramos
95a3f88155 Support patching for editor open and editor close 2022-03-30 13:45:33 -04:00
Matt Adam
a727329516 Implement badge API for webviews and treeviews (#144775)
* Implement badge API for webviews and treeviews

* Address PR feedback

* Set badge priority

Part of #62783
2022-03-30 14:34:11 +02:00
Johannes
bd71718372 add SnippetTextEdit, allow drop-handler to return them 2022-03-30 12:06:01 +02:00
Johannes Rieken
43d0483dae Merge pull request #146185 from microsoft/joh/notebookCleanup 2022-03-30 09:18:44 +02:00
Logan Ramos
09f56890a9 Add intial work to patch tab open and close 2022-03-29 15:57:46 -04:00
Logan Ramos
64f37bc300 Fix #145828 2022-03-28 14:37:08 -04:00
Johannes
bf0b4ac976 remove old notebook events from API proposal and implementation 2022-03-28 14:47:56 +02:00
Benjamin Pasero
2dbc994040 files - 💄 interface name consistency 2022-03-28 08:24:50 +02:00
Johannes
b157c6a2e6 pass and check model version when calling insertSnippet, https://github.com/microsoft/vscode/issues/145727 2022-03-28 08:22:53 +02:00
Alex Ross
d122abd3ca Allow tree drop at root
Fixes #145904
2022-03-24 13:41:38 +01:00
Logan Ramos
1dc2b29aaf Fix #145895 2022-03-23 11:43:30 -04:00
Logan Ramos
aa42171f54 Fix #145747 2022-03-23 10:04:28 -04:00
Johannes
9d23244129 add NotebookDocumentContentCellChange#document, https://github.com/microsoft/vscode/issues/145793 2022-03-23 12:42:45 +01:00
rebornix
6143ef5552 comment model for editor should not be aware of notebook. 2022-03-21 11:37:33 -07:00
Tyler Leonhardt
68802ccc44 initial proposal of InputBoxValidationSeverity 2022-03-19 09:30:45 -07:00
Matt Bierner
bfc026b97a Drop into text editor api proposal (#143334)
* Add drop into editor api proposal

For #142990

* Use AsyncEmitter
2022-03-18 11:32:11 -07:00
Logan Ramos
e2ce6d92a9 add isPreview and group reference to tab 2022-03-18 14:15:27 -04:00
Johannes
c385364f5d tabs - move move into TabGroups 2022-03-18 14:35:46 +01:00
Logan Ramos
897c851383 Allow more granular configuration of telemetry through product.json (#143406)
* Allow configuration of telemetry through product.json

* Fix compilation

* Address PR comments

Co-authored-by: SteVen Batten <6561887+sbatten@users.noreply.github.com>
2022-03-18 09:33:51 -04:00
Logan Ramos
85c3df0dde Tie in tab input, remove cleanup .d.ts 2022-03-17 16:54:44 -04:00
rebornix
14635e26ce Merge remote-tracking branch 'origin/main' into rebornix/notebook-commenting 2022-03-17 11:43:49 -07:00
Hermann Loose
f6e8ee9cca Introduce themable colors for resolved and unresolved comments (#145230)
* Make `CommentThread.state` available to `ReviewZoneWidget`

* Apply themable colors for resolved and unresolved comments

* Update color properties in comment widget

* PR feedback

Co-authored-by: Hermann Loose <hermannloose@google.com>
Co-authored-by: Alex Ross <alros@microsoft.com>
2022-03-17 17:23:45 +01:00
Johannes
2f9632ec45 first steps towards Tab#input 2022-03-17 16:49:34 +01:00
Logan Ramos
c56ff000d4 Move close and add array support 2022-03-17 10:59:28 -04:00
Logan Ramos
1e0f8c9ba1 Re-enable vscode.open tab est 2022-03-17 10:59:27 -04:00
rebornix
48d8401d97 Merge remote-tracking branch 'origin/main' into rebornix/notebook-commenting 2022-03-16 19:26:12 -07:00
rebornix
fe224d0d96 comment thread generics 2022-03-16 15:19:27 -07:00
Logan Ramos
a223750f17 Fix #144664 2022-03-16 16:59:11 -04:00
Logan Ramos
4a8f00b9c4 More work towards adopting unique tab ids 2022-03-16 09:31:15 -04:00
Logan Ramos
ed5a545047 Fix #145111 2022-03-15 09:55:57 -04:00
Logan Ramos
6837589569 Remove TabKind.other 2022-03-14 14:55:08 -04:00
Alex Dima
f6ad20b09a Ask all local extension hosts to resolve canonical URIs 2022-03-11 10:04:00 +01:00
Johannes Rieken
52faf21ef2 move/copy onDidSaveNotebookDocument-event into workspace, add onDidChangeNotebookDocument-event which fires for any notebook change: metadata, structure, cell output, cell metadata 2022-03-08 14:15:35 +01:00
Logan Ramos
0aa4642a59 Rename additionalResourcesAndViewIds 2022-03-04 08:52:36 -05:00
Logan Ramos
cc5519bc3f Add tab pin status 2022-02-22 10:52:46 -05:00
Logan Ramos
198682cfac Make enum not uppercase 2022-02-22 10:20:28 -05:00
Alex Dima
32b031eeef Add support for running remote extensions in the local web worker extension host (#141322) 2022-02-22 12:56:12 +01:00
Logan Ramos
17fb3990ff Add tab kind to the tabs api 2022-02-18 16:26:00 -05:00
Logan Ramos
f932fd6ae4 Add isDirty 2022-02-16 15:35:49 -05:00
Alex Ross
e5f7dff1a7 Make tree dnd handleDrop optional 2022-02-16 09:19:09 +01:00
Alex Ross
a64e8e5673 Tree dnd feedback 2022-02-11 13:36:31 +01:00
Logan Ramos
ec9df1d972 Update tabs model to utilize the new API shape (#142668)
* Change shape of the tabs API

* Disable tab tests for now

* Add an onDidChangeTabGroup event

* Optimize for group activate

* Update events to no longer be an array

* Further tab optimization
2022-02-10 15:09:11 -05:00
Johannes Rieken
609eea3a30 add an API proposal for DocumentFilter#notebookType, https://github.com/microsoft/vscode/issues/141143 2022-02-10 17:03:16 +01:00
Sandeep Somavarapu
d20ffc5f82 cleabn up 2022-02-09 15:09:53 +01:00