Commit Graph

337 Commits

Author SHA1 Message Date
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
rebornix
2790c0b06e Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-02-10 11:58:29 -08:00
Eric Amodio
1e8214144d Changes DocumentSelector to scheme and hooks it up 2020-02-10 10:43:29 -05:00
rebornix
c78a8696fc Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-02-07 10:22:51 -08: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
rebornix
1d71d49864 Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-02-03 14:33:18 -08: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
rebornix
dcc4ed568b Merge remote-tracking branch 'origin/master' into rebornix/notebook 2020-01-27 10:51:28 -08:00
rebornix
42b45bb366 Delete cell 2020-01-23 14:09:25 -08: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
rebornix
118b59a3ee Mirroring TextModel. 2020-01-17 15:21:31 -08: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
rebornix
e485187ad2 Merge commit 'cd4472ed5fd79551d95acf7d9ed23ce20cb2233d' into rebornix/notebook 2020-01-09 15:57:41 -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
rebornix
3be5087f13 Test extension for notebook 2020-01-06 15:26:12 -08: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