Commit Graph

4460 Commits

Author SHA1 Message Date
Alex Ross
40aa781ab8 Add API to get an array of tunnel descriptions 2020-01-20 12:30:11 +01:00
Johannes Rieken
858ab6a60e only show save participant failure in log 2020-01-20 12:18:04 +01:00
Johannes Rieken
0d3b5da08b bulk - refactor much to be prepared for WorkspaceEditMetadata 2020-01-20 12:18:04 +01:00
Alex Ross
367c81a369 Add embedder API for candidate port filtering 2020-01-20 12:04:58 +01:00
Alex Ross
71570aa4e8 Add candidate port filtering to proposed API 2020-01-20 11:38:45 +01:00
Matt Bierner
ff9fd2fa1a Custom Editors: pass original edit objects back to extensions
For #88719

With this change, instead of passing custom editor edit json back and forth with the extension host, we keep the original edit objects on the extension host. This means that we can pass extensions back the exact same edit object they first hand to us. It also means that edits no longer need to be json serializable.
2020-01-19 20:14:25 -08:00
Matt Bierner
5335a721fa Add backup capability for custom editors 2020-01-19 20:14:25 -08:00
Benjamin Pasero
cdc2469931 untitled - rewrite creation logic 2020-01-17 11:33:13 +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
Johannes Rieken
1ba18afb07 move API proposal to stable API, #10266 2020-01-16 17:18:29 +01:00
Benjamin Pasero
664836ec0e debt - loadOrCreate => resolve 2020-01-16 15:39:09 +01:00
Benjamin Pasero
70f381a7b9 untitled - bring back loadOrCreate() 2020-01-16 13:11:15 +01:00
Johannes Rieken
a8f2db516b slightly more compact dto, no need to send false 2020-01-16 13:02:26 +01:00
Benjamin Pasero
41eabcfcd6 text files - rename models => files 2020-01-16 12:47:46 +01:00
Benjamin Pasero
3d9d1f9f2a text files - allow to work with untitled from text file service directly 2020-01-16 12:45:13 +01:00
Rachel Macfarlane
b80e813365 Updates to authentication provider API 2020-01-15 15:45:29 -08:00
Rachel Macfarlane
ac5756dd7c Sync account state between windows 2020-01-15 10:55:34 -08:00
Benjamin Pasero
2585092dbe tests - reduce output of integration tests (#84283) 2020-01-15 12:56:22 +01: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
Matt Bierner
0fc545e916 Also show refactor documentation in normal lightbulb menu if refactorings are returned
For #86788
2020-01-14 12:23:35 -08:00
Alexandru Dima
6133239792 💄 2020-01-14 16:58:32 +01:00
Martin Aeschlimann
da5d2781b0 replace console with logService. For #84283 2020-01-14 11:31:34 +01:00
Matt Bierner
c3c54744ab Convert CodeActionTrigger type enum type 2020-01-13 20:55:32 -08:00
Matt Bierner
560f922d6f Add telemetry on which code actions are applied
We are trying to improve the discoverability of code actions. To do this, we need to have a baseline of how often people are applying actions such as refactorings so that we can measure if changes like adding documentation have an impact on their usage rates.

Ref #86788
2020-01-13 20:34:49 -08:00
Benjamin Pasero
2a3dc1edac fix tests 2020-01-13 16:59:08 +01:00
Daniel Imms
a62805844e Expose IExtHostTerminalService.getDefaultShellArgs internally
Fixes #88280
2020-01-13 07:45:08 -08:00
Benjamin Pasero
76c72ffc94 telemetry - restore back load/save reason for files 2020-01-13 16:01:30 +01:00
Benjamin Pasero
ad41028d8f debt - drop untyped events in favor of typed (text files) 2020-01-13 15:49:21 +01:00
Benjamin Pasero
238617a847 debt - drop TextFileModelChangeEvent 2020-01-13 13:02:50 +01:00
Sandeep Somavarapu
9918d87cb6 Fix #88402 2020-01-13 13:01:11 +01:00
Johannes Rieken
e69cc0760c update telemetry message with index of changed field #87187 2020-01-13 12:26:42 +01:00
Johannes Rieken
f36e0c13c6 fix #88310 2020-01-13 10:43:20 +01:00
Johannes Rieken
17d6b13a35 Merge pull request #88428 from microsoft/joh/bulkEditPreview
Preview workspace edits
2020-01-13 09:24:39 +01:00
Matt Bierner
8520f74c08 Implement a default saveAs for readonly custom editors
Fixes #88414
2020-01-10 18:19:41 -08:00
Matt Bierner
cb4ef36e6d Make sure we restore the previous editor when switching back to it 2020-01-10 18:19:41 -08:00
Matt Bierner
a0328d26ac Add 'vscode.reopenWith' API command
Fixes #88426

Add an api command that allows extensions to open/reopen a file with a specific we custom editor. Use this to allow re-opening a failed to load image as text/binary

For #77131
2020-01-10 14:25:21 -08:00
Matt Bierner
1b70625f8c Use import type when importing vscode under src
When the core references `vscode`, we only want to import the types and never generate a real import (which will fail to load). Use `import type` to better enforce this
2020-01-10 14:25:21 -08:00
Johannes Rieken
3e6ba164cc show preview only for rename 2020-01-10 07:00:00 +01:00
Johannes Rieken
517ff5d3a9 Merge branch 'master' into joh/bulkEditPreview 2020-01-09 16:24:43 +01:00
Alex Ross
c7bd9c76f0 Better ipv6 display in forwarded ports view 2020-01-09 16:03:16 +01:00
Johannes Rieken
c40b6072bc propose CompletionList#isDetailsResolved, #39441 2020-01-09 15:50:34 +01:00
Johannes Rieken
8c34dcc521 Merge branch 'master' into joh/bulkEditPreview 2020-01-09 13:01:41 +01:00
Johannes Rieken
f7fb208b39 remove timeouts (and their settings) for format and code actions, #87449 2020-01-09 12:53:48 +01:00
Johannes Rieken
082511b4fe Show cancellable progress when running save participants, #87449 2020-01-09 12:53:48 +01:00
Benjamin Pasero
4f6af32f43 untitled - merge createOrGet and loadOrCreate into one 2020-01-09 10:26:04 +01:00
Sandeep Somavarapu
ea1097d2b0 #26707 Inspect returns languages 2020-01-09 02:34:11 +01:00
Alex Ross
9c0577cde2 Forward ports with any host to localhost
and fix related bugs

Fixes #88060
2020-01-08 17:52:45 +01:00
Sandeep Somavarapu
29759db68b #26707 Make uri optional 2020-01-08 17:43:19 +01:00
Andre Weinand
ec211900d8 improved error DA error reporting; fixes #87196 2020-01-08 16:53:36 +01:00