Commit Graph

450 Commits

Author SHA1 Message Date
Sandeep Somavarapu
b44a8ca309 move user data sync store to workbench 2019-09-17 16:56:44 +02:00
Sandeep Somavarapu
5cc29271b5 Introduce id and user data sync store registry 2019-09-17 16:25:06 +02:00
Matt Bierner
1ee616d802 Don't duplicate external webview commit in so many places 2019-09-16 14:19:16 -07:00
Sandeep Somavarapu
8fbdeb724b move user data sync services to platform 2019-09-16 17:30:47 +02:00
Alex Ross
1c01ce84b5 Refactor extHostTask (#80970)
so that most of it is in common
2019-09-16 12:09:14 +02:00
Sandeep Somavarapu
317ed7e1a5 Merge branch 'master' into sandy081/userDataProvider 2019-09-15 19:52:27 +02:00
Sandeep Somavarapu
4ffcfff8b9 prepare to merge to master 2019-09-15 19:41:26 +02:00
Matt Bierner
4546a07196 Working on basic save for custom editors 2019-09-13 22:24:35 -07:00
Benjamin Pasero
f8effd5fad api - introduce env.uiKind (web, desktop) 2019-09-13 17:58:30 +02:00
Johannes Rieken
cf88c7f310 retry command exec when having arguments, when contributes, and not yet activated, #80338 2019-09-13 08:50:12 +02:00
Daniel Imms
678abfe8b2 Remove Terminal.onDidWriteData
Replaced by vscode.window.onDidWriteTerminalData

Fixes #78574
2019-09-12 19:09:12 -07:00
Matt Bierner
54ac29790e Make sure asWebviewUri also handles replacing commit 2019-09-12 16:07:47 -07:00
Matt Bierner
7a219ab632 Adding concept of a state for webview editors
#77131

This information will be used to show the dirty indicator and also enable/disable save
2019-09-12 14:04:54 -07:00
Johannes Rieken
5e417f3d22 calls - fix api command and tests 2019-09-12 16:52:55 +02:00
jrieken
96665b6e7a calls - add API commands 2019-09-12 14:35:21 +00:00
Sandeep Somavarapu
88e5a183ae Use ref instead of version 2019-09-12 16:17:05 +02:00
jrieken
4ac45c1be8 💄 named export for extHostProtocol... 2019-09-12 13:35:17 +00:00
jrieken
6fc8778fdc calls - add CallHierarchyItem to type converter 2019-09-12 13:34:45 +00:00
jrieken
4aa06c2611 calls - remove resolve-function, use document,position tuple when making requests 2019-09-12 10:13:20 +00:00
Daniel Imms
63a0da438b Have ExtHostTerminalService extend Base service 2019-09-11 09:54:27 -07:00
Daniel Imms
b5a3125123 Move most of ExtHostTerminalService to common 2019-09-11 09:35:51 -07:00
Johannes Rieken
fd6bb626e3 fix tslint warnings... 2019-09-11 16:16:13 +02:00
Johannes Rieken
a97b843f27 Merge pull request #80713 from microsoft/joh/api/callHierarchy2
Call hierarchy API proposal
2019-09-11 15:37:16 +02:00
jrieken
8e5edc0eda use Outgoing/Incoming terminology 2019-09-11 13:25:53 +00:00
Sandeep Somavarapu
65f14490b7 Merge branch 'master' into sandy081/userDataProvider 2019-09-11 13:42:07 +02:00
Alex Ross
462a8be7d4 Add title API for tree views (#80623)
* First pass at set view title

* Change to get/set instead of setTitle

and get the name of the view from the extension contributions
2019-09-11 10:56:45 +02:00
jrieken
e6df99aed8 implement CallsFrom/CallsTo proposal 2019-09-11 08:01:13 +00:00
Matt Bierner
011836a150 Prototyping custom editors (#77789)
* Custom Editor exploration

For #77131

Adds a prototype of custom editors contributed by extensions. This change does the following:

- Introduces a new contribution point for the declarative parts of a custom editor
- Adds API for registering a webview editor provider. This lets VS Code decided when to create a webview editor
- Adds an `openWith` command that lets you select which editor to use to open a resource from the file explorer
- Adds a setting that lets you say that you always want to use a custom editor for a given file extension
- Hooks up auto opening of a custom editor when opening a file from quick open or explorer
- Adds a new extension that contributes a custom image preview for png and jpg files

Still needs a lot of UX work and testing. We are also going to explore a more generic "open handler" based approach for supporting custom editors

Revert

* Re-use existing custom editor if one is already open

* Don't re-create custom editor webview when clicking on already visible custom editor

* Move customEditorInput to own file

* First draft of serializing custom editor inputs

* Use glob patterns instead of simple file extensions for matching custom resoruces for custom editors

* Add descriptions

* Try opening standard editor while prompting for custom editor

* Make sure we hide image status on dispose

* Make sure we restore editor group too

* Use glob patterns for workbench.editor.custom

* Allow users to configure custom editors for additional file types

* Use filename glob instead of glob on full resource path

* Adding placeholder for prompt open with

* Add enableByDefault setting for editor contributions

* Enable custom editors by default and add `discretion` enum

Changes `enableByDefault` boolean to a `discretion` enum. This should give more flexibility if we want other options (such as forcing a given custom editor to always be used even if there are other default ones)

* Allow custom editors to specify both a scheme and filenamePattern they are active for

* Rework custom editor setting

* Don't allow custom editors to be enabled for all resources by a config mistake

* Replace built-in image editor with one from extension

* Adding reopen with command

* Improve comment

* Remove commented code

* Localize package.json and remove image

* Remove extra lib setting from tsconfig
2019-09-10 17:56:57 -07:00
Sandeep Somavarapu
be01168e52 support user data error handling 2019-09-10 17:32:02 +02:00
Sandeep Somavarapu
cc0f39133b fix compilation 2019-09-10 15:25:45 +02:00
Sandeep Somavarapu
cae7f1c4b9 Merge branch 'master' into sandy081/userDataProvider 2019-09-10 15:17:32 +02:00
Sandeep Somavarapu
c26e198c9c settings sync using remote user data service 2019-09-10 15:16:57 +02:00
Alex Ross
ca4c1bf7a0 Go to ext host for system default shell and args for tasks
Fixes https://github.com/microsoft/vscode-remote-release/issues/1203
2019-09-05 14:59:08 +02:00
Isidor Nikolic
97a05cec1b Merge pull request #80122 from dgozman/fix-79583
Make DebugSession.name writable; fixes #79583
2019-09-05 11:30:30 +02:00
Sandeep Somavarapu
6706c1792d fix calling proposed api 2019-09-05 00:12:15 +02:00
Dmitry Gozman
cb6b17d6f3 Make DebugSession.name writable; fixes #79583 2019-09-04 15:06:26 -07:00
Daniel Imms
afe912070e Stabilize extension terminals (vscode.Pseudoterminal)
Fixes #78514
2019-09-04 11:04:45 -07:00
Johannes Rieken
6c0bb9ba4d make DecorationData a class and rename it to Decoration, #54938 2019-09-04 11:16:11 +02:00
Johannes Rieken
07d19b90a5 remove automatic merging/overwriting of decorations, simplify proposed API, #54938 2019-09-04 11:16:11 +02:00
Sandeep Somavarapu
3dc748ccca Merge branch 'master' into sandy081/userDataProvider 2019-09-03 14:55:28 +02:00
Johannes Rieken
c842995673 debt - remove duplicated types 2019-09-02 11:41:03 +02:00
Johannes Rieken
86dce614df debt - remove old proposed API: vscode.ExtensionContext#executionContext 2019-09-02 11:41:03 +02:00
Johannes Rieken
dedf0de944 change type of _serviceBrand from any to undefined, #79918 2019-08-30 15:40:46 +02:00
Martin Aeschlimann
a7def72d9e trailing commas only for setting files 2019-08-29 13:19:03 +02:00
Matt Bierner
bffbe2ea30 Make sure modes.DocumentSymbol.tags is not undefined
Fixes #80023
2019-08-28 19:05:45 -07:00
Sandeep Somavarapu
a7c2a5a5bc Fix #79431 2019-08-28 16:44:44 +02:00
Benjamin Pasero
fa7eba4888 extensions - fully provide keytar API 2019-08-28 15:09:02 +02:00
Sandeep Somavarapu
902da828e4 Fix #79975 2019-08-28 12:53:41 +02:00
Matt Bierner
78879b6a81 Log missing csp on extension host instead of main window 2019-08-26 15:42:16 -07:00
Sandeep Somavarapu
f2eb88ae6e use user data instead of identity 2019-08-26 09:03:23 +02:00