Commit Graph

430 Commits

Author SHA1 Message Date
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
Rachel Macfarlane
5551d73be9 Add scope parameter to getSessions, fixes #91571 2020-03-09 12:50:05 -07:00
Rachel Macfarlane
6f230c5f04 Expose functions under authentication namespace instead of providers array, #88309 2020-03-06 12:45:04 -08:00
rebornix
fda49c06fa Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-03-05 14:03:24 -08:00
Benjamin Pasero
fe77b8606a unblock the build 2020-03-05 16:32:00 +01:00
Johannes Rieken
fc10037cd0 Merge branch 'master' into rebornix/notebook 2020-03-04 16:31:35 +01:00
Johannes Rieken
72c3bcefb3 expose extensionUri, https://github.com/microsoft/vscode/issues/90208 2020-03-04 11:20:18 +01:00
rebornix
882ae1ec8f no unverified commit 2020-03-03 16:33:00 -08:00
rebornix
f3780d98fb Merge remote-tracking branch 'origin' into rebornix/notebook 2020-02-26 14:56:49 -08:00
Matt Bierner
8291f8c152 Polishing of custom editor api proposal for 1.43 release
For #77131
2020-02-25 10:55:41 -08:00
Matt Bierner
99d5733e5f New iteration of webview editor API proposal
For #77131

**Motivation**
While our existing webview editor API proposal more or less works, building an editable webview editor is fairly tricky using it! This is especially true for simple text based editors.

It'd also be nice if we could get bi-directional live editing for text files. For example, if I open the same file in a webview editor and in VS Code's normal editor, edits on either side should be reflected in the other. While this can sort of be implemented using the existing API, it has some big limitations

**Overview of changes**
To address these problems, we've decided have two types of webview editors:

- Text based webview editors. These editors used a `TextDocument` as their data model, which considerably simplifies implementing an editable webview. In almost all cases, this should be what you use for text files

- Complex webview editors. This is basically the existing proposed API. This gives extension hooks into all the VS Code events, such as `save`, `undo`, and so on. These should be used for binary files or in very complex text editor cases.

Both editor types now have an explicit model layer based on documents. Text editor use `TextDocument` for this, while custom editors use `WebviewEditorCustomDocument`. This replaces the delegate based approach previously used.
2020-02-21 16:26:01 -08:00
rebornix
d00f117c62 Mimetype picker first cut. 2020-02-21 11:47:55 -08:00
Johannes Rieken
ee7bb4f692 Merge branch 'master' into rebornix/notebook 2020-02-21 11:31:45 +01:00
Matt Bierner
adff1db8de Use deprecation service to report usage of vscode-resource uris 2020-02-20 21:33:55 -08:00
Johannes Rieken
1541d57e3c Merge branch 'master' into rebornix/notebook 2020-02-19 10:21:07 +01:00