Matt Bierner
fd19b8567e
Mark notebookContentProvider proposal as deprecated ( #150493 )
...
For https://github.com/microsoft/vscode/issues/147248
Marks the top level types in this file as deprecated. Also hooks up `registerNotebookContentProvider` to report deprecated API usage
2022-05-26 22:40:06 +00:00
Matt Bierner
e4f7f6a9da
Add PasteEditProvider ( #107283 )
...
For #30066
This adds a new `documentPaste` api proposal that lets extensions hook into copy and paste.
This can be used to do things such as:
- Create link when pasting an image
- Bring along imports when copy and pasting code
2022-05-25 12:27:58 +02:00
Henning Dieterichs
9ef07308ea
Finalizes inline completions
2022-05-24 12:52:19 +02:00
Peng Lyu
27ea5e48ae
Merge pull request #150146 from microsoft/rebornix/source-commands
...
Notebook kernel source menu contribution
2022-05-23 18:11:33 -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
rebornix
8d503ffaf4
connection state in another pr
2022-05-20 16:35:46 -07:00
rebornix
9d49470ac6
Merge remote-tracking branch 'origin/main' into rebornix/controller-connection
2022-05-20 15:49:23 -07:00
Matt Bierner
1c7ab35761
Rename to DocumentOnDropEditProvider ( #149730 )
...
This change renames `DocumentOnDropProvider` to `DocumentOnDropEditProvider`. This new name aligns with the existing `DocumentFormattingEditProvider`
2022-05-17 09:26:54 -07:00
Matt Bierner
3f531a7de3
Add notebookWorkspaceEdit api proposal ( #149128 )
...
* Add notebookWorkspaceEdit api proposal
Splits a new `notebookWorkspaceEdit` out of the existing `notebookEditorEdit` proposal.
The notebookWorkspaceEdit reflects the api that we believe should be finalized instead of `notebookEditorEdit`. It lets extensions use workspaceedits to change cells in a notebook or replace the metadata for a notebook document
As part of this change, I've also marked all of the `notebookEditorEdit` apis as deprecated (except for `replaceNotebookMetadata` which exists in the new proposal too)
* Export type from extHost
2022-05-16 11:25:14 -07:00
rebornix
bd99c998a1
Remove proxy controller.
2022-05-15 18:56:22 -07:00
Johannes
aa706918c1
only match against notebook uri when document selector specificies notebook type, fixes https://github.com/microsoft/vscode/issues/149363
2022-05-13 09:29:57 +02:00
Matt Bierner
67014adc30
Remove the textDocumentNotebook API proposal ( #149277 )
...
* Remove the textDocumentNotebook API proposal
All consumers have now been migrated off of this proposal, so it is safe to remove from our code
* Remove deprecated api usage from test
2022-05-12 08:59:11 +02:00
rebornix
7e34708dcc
prepare for removing proxy kernel.
2022-05-11 11:46:20 -07:00
Tyler James Leonhardt
2d9244c330
Finalize InputBoxMessageSeverity API ( #148961 )
2022-05-06 14:37:40 -07:00
Henning Dieterichs
bae40168ae
Fixes issues from code review
2022-05-05 09:54:41 +02:00
Henning Dieterichs
3b08d52d0b
Updates inlineCompletions proposal from inlineCompletionsNew proposal.
...
Also moves InlineCompletionList.commands to inlineCompletionsAdditions proposal.
2022-05-05 07:49:38 +02:00
Johannes
e7bc9bb5fc
don't return duplicates from vscode.extensions.allAcrossExtensionHosts, add ExtensionIdentifierSet fyi @alexdima
2022-04-22 12:43:25 +02:00
Logan Ramos
aa69f3d762
Fix #15178 Finalize tabs API 🎉
2022-04-21 11:08:12 -04:00
Johannes
ad4470522e
propose extensions.allAcrossExtensionHosts and related APIs, https://github.com/microsoft/vscode/issues/145307
2022-04-21 14:45:46 +02:00
Johannes
9530dca29d
finalize notebookDocumentEvents-API, https://github.com/microsoft/vscode/issues/144662
2022-04-20 13:58:37 +02:00
Matt Bierner
50ea16198d
Remove the concat text document api proposal
...
Fixes #146781
2022-04-14 14:39:44 -07:00
rebornix
f20a0f2a10
extract exthost/mainthread proxy kernels.
2022-04-14 11:10:48 -07:00
rebornix
ec30263535
Merge remote-tracking branch 'origin/main' into rebornix/lazy-kernel
2022-04-14 10:09:45 -07:00
rebornix
61095a1347
notebook controller or id
2022-04-14 10:07:49 -07:00
Tyler Leonhardt
527d63162a
address feedback by having concrete ValidationMessage type
2022-04-12 17:18:13 -07:00
rebornix
860221a193
two kernel types
2022-04-11 08:05:40 -07:00
Matt Bierner
f8a64a1482
Adding readonly to a few more array arguments
2022-04-05 11:06:37 -07:00
Matt Bierner
86bab72670
Adding deprecation message for concat text document
...
For #146781
2022-04-04 17:00:09 -07: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
bd71718372
add SnippetTextEdit, allow drop-handler to return them
2022-03-30 12:06:01 +02:00
Johannes
bf0b4ac976
remove old notebook events from API proposal and implementation
2022-03-28 14:47:56 +02: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
Logan Ramos
a2d8edb83d
Tabs API renaming
2022-03-21 13:35:34 -04: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
4d9393e9d3
Renamed NotebookEditorDiffTabInput
2022-03-18 12:53:55 -04:00
Logan Ramos
85c3df0dde
Tie in tab input, remove cleanup .d.ts
2022-03-17 16:54:44 -04:00
Logan Ramos
02f15063a0
Implement other tab inputs
2022-03-17 15:50:01 -04:00
Matt Bierner
989caf1849
Remove extra type
2022-03-17 11:56:38 -07:00
Johannes
2f9632ec45
first steps towards Tab#input
2022-03-17 16:49:34 +01:00
Henning Dieterichs
3626e6ab0c
Adds inlineCompletionsNew and inlineCompletionsAdditions proposed APIs to avoid breaking changes when finalizing inline completions API.
2022-03-10 11:23:01 +01:00
Johannes Rieken
af79d2108d
Merge branch 'main' into joh/notebookDocumentEvents
2022-03-09 08:33:16 +01:00
Sandeep Somavarapu
55c34a3df6
Fix #19561
2022-03-08 18:29:03 +01:00
Johannes Rieken
9aa84a3eb0
finalize DocumentFilter#notebookType, https://github.com/microsoft/vscode/issues/141143
2022-03-08 17:53:18 +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
Alex Ross
c468903ff7
Finalize tree drag and drop API
...
Fixes #32592
2022-03-02 15:39:36 +01:00
Logan Ramos
17fb3990ff
Add tab kind to the tabs api
2022-02-18 16:26:00 -05: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
b58c215a0b
do away with score-refiner and add pluggable notebook type resolver, https://github.com/microsoft/vscode/issues/141143
2022-02-10 18:06:57 +01:00