Matt Bierner
f35758ab21
Rename supportsMultipleEditorsPerResource -> supportsMultipleEditorsPerDocument
...
For #77131
2020-04-23 17:33:06 -07:00
Matt Bierner
e0a4eec778
Rename some custom editor types/functions and introduce backup context
...
Fixes #95846
Fixes #95851
For #77131
- Rename `EditableCustomDocument` to `CustomEditableDocument`
- Rename `CustomDocumentBackup.dispose` to `CustomDocumentBackup.delete` to make it clearer how this is supposed to be used
- Rename `OpenCustomDocumentContext` to `CustomDocumentOpenContext`
- Add a context to backup. Pass in `workspaceStorageUri`
2020-04-23 16:32:56 -07:00
Johannes Rieken
4bef71262f
expose vscode.notebook.onDidChangeNotebookDocument-event
2020-04-23 15:55:07 +02:00
rebornix
dbfe5613ca
notebook.activeNotebookEditor
2020-04-22 11:32:57 -07:00
Martin Aeschlimann
687131cb88
Merge pull request #95778 from microsoft/aeschli/themeApiFinal
...
make API to access theme kind final
2020-04-22 17:14:28 +02:00
Peng Lyu
5ce07638a9
Merge pull request #95732 from microsoft/rebornix/hidecelloutput
...
Hide cell output in webview when fold
2020-04-21 12:18:16 -07:00
rebornix
fe395be069
protect from proposed
2020-04-21 08:05:57 -07:00
Martin Aeschlimann
af44ead34c
make theme API final
2020-04-21 16:39:06 +02:00
Johannes Rieken
a14593c842
add vscode.notebook.createConcatTextDocument proposal
2020-04-21 12:31:15 +02:00
Daniel Imms
5578eadf86
Move link handlers back to proposed
...
Part of #91606
2020-04-20 06:25:29 -07:00
Andre Weinand
5c7b6f5a32
fix for crashing eh
2020-04-20 15:17:25 +02:00
Andre Weinand
be994e14c6
workaround for crashing eh
2020-04-20 15:04:11 +02:00
Andre Weinand
1451fab698
add dynamic debug config API
2020-04-20 13:26:20 +02:00
Matt Bierner
5913061e1b
Allow a custom editor to opt out of supporting multiple instances for a single resource
...
#77131
2020-04-16 17:40:20 -07:00
Rob Lourens
989bbcc97e
Implement notebook cell status bar
2020-04-15 12:28:09 -05:00
Johannes Rieken
c139d3bf1e
remove old proposal for https://github.com/microsoft/vscode/issues/90208
2020-04-15 10:04:56 +02:00
Daniel Imms
74ea30b46e
Finalize registerTerminalLinkHandler API
...
Fixes #91606
2020-04-09 06:01:04 -07:00
Matt Bierner
d4ce7148dd
New custom editor API proposal
...
For #77131
Fixes #93963
Fixes #94515
Fixes #94517
Fixes #94527
Fixes #94509
Fixes #94514
Fixes #93996
Fixes #93913
This removes explicit edits from the API and reshapes the API to more closely match VS Code's internal API. The change also tries to better express the lifecycle of backups
2020-04-08 17:53:39 -07:00
Rachel Macfarlane
ace72b77c5
Update trusted extensions flow again
2020-04-05 15:03:17 -07:00
Matt Bierner
2e4d797e51
Add registerCustomEditorProvider2
...
Create a temporary overload for testing `CustomEditor`. In finalization, we'd update `registerCustomEditorProvider` to take both types of custom editor instead
2020-04-02 15:43:13 -07:00
Rachel Macfarlane
917c420302
Improvements to 'manage trusted extensions' flow
2020-04-01 23:13:50 -07:00
Matt Bierner
d05e41bef8
Move the custom editor api out of proposed
...
For #77131
2020-03-30 17:05:35 -07:00
Rachel Macfarlane
852df3025d
Revert "Issue distinct sessions per extension, remove session when extension is removed from trusted list"
...
This reverts commit 85119afc7b .
2020-03-30 17:03:29 -07:00
Rachel Macfarlane
85119afc7b
Issue distinct sessions per extension, remove session when extension is removed from trusted list
2020-03-30 14:34:42 -07:00
Rob Lourens
9f56adcf08
Revert "Fix build"
...
This reverts commit d97dca4d2b .
2020-03-30 16:25:44 -05:00
Rob Lourens
d97dca4d2b
Fix build
...
#85992
2020-03-30 14:49:02 -05:00
Alex Dima
21293c4266
Fixes #86415 : Finalize semantic tokens API
2020-03-30 17:34:57 +02:00
Daniel Imms
0b68e23c7f
Merge remote-tracking branch 'origin/master' into tyriar/46696_terminal_env
2020-03-27 05:45:27 -07:00
rebornix
c81de6c0a1
notebook edit api
2020-03-26 11:17:52 -07:00
Daniel Imms
97eaa84d46
Pass terminal method through to ext host terminal service
2020-03-24 08:02:11 -07:00
Daniel Imms
d2621d7da0
Add proposed API
2020-03-24 07:54:30 -07:00
Eric Amodio
fb87c6cbf1
Closes #92421 - view level progress
2020-03-23 17:27:07 -04:00
Matt Bierner
579dab3196
Update custom editor api
...
For #77131
- Use a class for `CustomDocument` instead of an interface. Extensions can now add their own data to a `CustomDocument` by sublassing
- Renamed `resolveCustomDocument` to `openCustomDocument` and require that extensions return a `CustomDocument`
- Exposed edits on `CustomDocument`
- Made the third parameter of `registerCustomEditorProvider` a generic options bag that takes a `webviewOptions`
2020-03-23 13:10:49 -07:00
Matt Bierner
414fc3c7cd
Remove unused type
2020-03-23 13:10:49 -07:00
Rachel Macfarlane
2b86488f03
Add account context menu, #90385
2020-03-20 09:51:35 -07:00
rebornix
7e56fc02c0
Contributions for notebook cell toolbar
2020-03-19 11:36:05 -07:00
Pine Wu
196562bff2
Merge remote-tracking branch 'origin/master' into octref/live-rename
2020-03-18 12:28:47 -07:00
rebornix
5194415bae
Merge remote-tracking branch 'origin/master' into rebornix/notebook
2020-03-18 09:53:43 -07:00
Pine Wu
8870bcdf89
Merge remote-tracking branch 'origin/master' into octref/live-rename
2020-03-17 11:58:44 -07:00
Eric Amodio
8fe74b820b
Fixes bad type check
2020-03-16 17:45:57 -04:00
rebornix
cdfd6eca84
Merge remote-tracking branch 'origin/master' into rebornix/notebook
2020-03-16 14:08:26 -07:00
Eric Amodio
7fcc44cd19
Updates view progress proposal - #92421
2020-03-16 15:50:19 -04:00
Daniel Imms
b66d56602f
Implement terminal link handler API
...
Part of #91606
2020-03-12 18:17:18 -07:00
Pine Wu
30ac552996
Merge remote-tracking branch 'origin/master' into octref/live-rename
2020-03-12 12:20:00 -07:00
Eric Amodio
eb4ebee6a3
Closes #92421 - view-level progress api
2020-03-11 00:33:14 -04:00
Rachel Macfarlane
cfc1ab4c5f
Add providerId array to authentication namespace
2020-03-10 17:41:17 -07:00
Pine Wu
c833780356
Clean up API and add stopPattern
2020-03-10 12:38:03 -07:00
Alexandru Dima
84c838d1e3
Scaffold on type rename
2020-03-10 12:33:16 -07:00
Johannes Rieken
52ea4ff1d7
Merge branch 'master' into rebornix/notebook
2020-03-10 10:43:26 +01:00
Matt Bierner
44d4fe895d
Allow using Command in StatusBarItem ( #92046 )
...
Fixes #22353
StatusBarItem is one of the few places in our API where we only allow extensions to give us a command as a `string` instead of as `Command` object. This change updates the API to also allow passing in a `vscode.Command` (which also allows arguments!)
2020-03-09 12:57:33 -07:00