Commit Graph

172 Commits

Author SHA1 Message Date
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
Eric Amodio
9ae0fd36c9 Enhances timeline - commands, timestamp, etc
Adds contributable commands to timeline items
Adds right-aligned timestamp to timeline items
Adds Open Changes to Git timeline items
Adds Copy Commit ID to Git timeline items
Adds Copy Commit Message to Git timeline items
2020-02-14 15:22:45 -05:00
Andre Weinand
e588a9cd1a Introduce evaluatable expression API; fixes #89084 2020-02-14 12:53:56 +01:00
rebornix
612a935c1a Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-02-12 18:08:24 -08:00
rebornix
64a3d6c878 Nteract renderers. 2020-02-12 18:08:13 -08:00
rebornix
df477bc912 contributed output renderer first cut 2020-02-12 11:05:53 -08:00
Johannes Rieken
ddf6ed326c more strictFunctions #81574 2020-02-12 10:48:17 +01:00
Johannes Rieken
4d3d0036f8 add asExtensionUri to Extension as well, #90208 2020-02-11 11:23:27 +01:00
Johannes Rieken
926fc23f13 more strict functions #81574 2020-02-11 10:28:47 +01:00