Commit Graph

129 Commits

Author SHA1 Message Date
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
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
Benjamin Pasero
fe77b8606a unblock the build 2020-03-05 16:32:00 +01:00
Johannes Rieken
72c3bcefb3 expose extensionUri, https://github.com/microsoft/vscode/issues/90208 2020-03-04 11:20:18 +01: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
Matt Bierner
adff1db8de Use deprecation service to report usage of vscode-resource uris 2020-02-20 21:33:55 -08: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
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
Eric Amodio
1e8214144d Changes DocumentSelector to scheme and hooks it up 2020-02-10 10:43:29 -05:00
Alex Ross
77218d2ba0 Fix onDidTunnelsChange -> onDidChangeTunnels
Part 1: have both events
part of https://github.com/microsoft/vscode/issues/90057
2020-02-07 12:02:04 +01:00
Eric Amodio
4cc5b776dc Overhauls timeline display to stream in results
Implements many API review changes
Fixes #89558
2020-02-05 18:16:37 -05:00
Rachel Macfarlane
f4786e227c Expose authentication provider registartion/unregistration as single event, fixes #89806 2020-01-31 15:53:09 -08:00
Eric Amodio
87c2332fed Adds timeline diff on click and icon support 2020-01-27 15:28:33 -05:00
Eric Amodio
70e1e9b4f4 Adds timeline view & api providers (wip) — #84297 2020-01-27 15:28:33 -05:00
Rachel Macfarlane
c1eacb4e56 Expose authentication providers array 2020-01-22 11:37:20 -08:00
Alex Ross
1bafcbe022 Add proposed api check to new tunnels api 2020-01-20 15:09:22 +01:00
Alex Ross
017aef63b9 Add tunnel list changed event API 2020-01-20 14:41:10 +01:00
Alex Ross
40aa781ab8 Add API to get an array of tunnel descriptions 2020-01-20 12:30:11 +01:00
Alex Dima
9e1d730cf2 SemanticTokens - implement feedback received in API call:
- extract a separate DocumentRangeSemanticTokensProvider that deals with a document range
- extract a separate provideDocumentSemanticTokensEdits that deals with updating via SemanticTokensEdits a previous result
2020-01-16 18:02:02 +01:00
Rachel Macfarlane
b80e813365 Updates to authentication provider API 2020-01-15 15:45:29 -08:00
Matt Bierner
3883ebd061 Add common service for logging deprecated api usage (#88585)
* Add common service for logging deprecated api usage

For #88391

Adds a new `ExtHostApiDeprecationService`. This service logs a warning and telemetry when a deprecated API is used.

Updates some of the more simple deprecated apis to use this new service

* Note that extensionId cannot be undefined

* Fix event name
2020-01-14 15:27:42 -08:00
Rachel Macfarlane
60beab2535 Move settings sync auth into built in extension 2020-01-14 14:50:37 -08:00
Alex Ross
d70c0a9a3f Fix openExternal and asExternalUri (#88211)
We allow tunneling for extensions regardless of whether they are in a local or remote extension host.
2020-01-08 10:20:20 +01:00
Martin Aeschlimann
afde09fe31 add checkProposedApiEnabled checks 2019-12-19 16:40:46 +01:00
Martin Aeschlimann
c5931b0aea Merge remote-tracking branch 'origin/master' into aeschli/theming-api 2019-12-19 16:33:55 +01:00
Sandeep Somavarapu
5c0d431b60 enable proposed api check for language settings 2019-12-18 16:37:53 +01:00
Alex Ross
db1c20eae7 Tunnel API renames 2019-12-18 16:24:04 +01:00
Sandeep Somavarapu
48f20cbdaa move to proposed api 2019-12-17 15:35:28 +01:00
Sandeep Somavarapu
25cef76b76 Merge branch 'master' into sandy081/languageConfiguration 2019-12-17 08:24:54 +01:00
Matt Bierner
8e475f9b24 Implement draft 2 from #86802 (#87117) 2019-12-16 14:18:58 -08:00
Sandeep Somavarapu
c01fc29b8d remove redundant api 2019-12-16 17:23:13 +01:00
Sandeep Somavarapu
1762f5a049 enable api to read and write lang configs 2019-12-16 13:31:48 +01:00
Alex Ross
9566da2e16 First pass at port API needed for port UI (#85117)
Part of https://github.com/microsoft/vscode-remote-release/issues/1777 and https://github.com/microsoft/vscode/issues/81388
2019-12-10 15:44:30 +01:00
Johannes Rieken
c14fd7b590 more console removal, #84283 2019-12-09 16:00:30 +01:00
Benjamin Pasero
88cba08d9d update proposed API with my items and remove deprecations 2019-12-06 16:00:17 +01:00
Johannes Rieken
14a778c760 Merge branch 'master' into joh/finalWill 2019-12-03 09:31:29 +01:00
Martin Aeschlimann
5ddbda0172 add theming API 2019-12-02 16:05:53 +01:00
Alex Dima
d6dae16f40 Remove areas from the semantic tokens API 2019-12-02 10:41:32 +01:00
Johannes Rieken
80db12a5ec move API to stable 2019-11-29 15:09:26 +01:00
Andre Weinand
870d78d9d8 finalize debug uri API; fixes #79228 2019-11-28 18:12:02 +01:00
Andre Weinand
cf81214e08 extension API for implementing DA in extension; see #85544 2019-11-28 17:55:12 +01:00
Johannes Rieken
eff2320473 check timeout on extension host, blame extension when exceeded, #43768 2019-11-19 12:36:42 +01:00
Alexandru Dima
41be9a6142 Merge remote-tracking branch 'origin/master' into alex/semantic-exploration 2019-11-18 08:59:14 +01:00