Commit Graph

63 Commits

Author SHA1 Message Date
Sandeep Somavarapu
ccf9aeadc8 Fix #85331 #86402 2019-12-09 12:31:05 +01:00
Matt Bierner
529351318e Removing test custom editors 2019-12-02 17:53:32 -08:00
Sandeep Somavarapu
4b0a066b83 - Get formatting options using text model
- Send only bindings to resolve
2019-12-02 11:15:42 +01:00
Sandeep Somavarapu
02bd95c906 refactor keybindings merge 2019-12-01 20:52:27 +01:00
Sandeep Somavarapu
1fbe309eb3 movw keybindings merge to workbench as service 2019-12-01 20:51:35 +01:00
Benjamin Pasero
4c5dd3bc93 debt - add more configuration related things from textfiles to files config service 2019-11-13 15:20:16 +01:00
Benjamin Pasero
21c09314a8 files - add auto save config service 2019-11-12 18:34:14 +01:00
Benjamin Pasero
e3114f4cbc introduce early version of working copy service
Adopt it for untitled and text file models. Use it for indicating dirty count in explorer and document edited on macOS.
2019-11-12 16:51:33 +01:00
Alex Ross
33e5678363 Change remote explorer to use drop-down UI. (#84482)
Part of https://github.com/microsoft/vscode-remote-release/issues/1778
2019-11-11 17:28:26 +01:00
Benjamin Pasero
9893f45eb2 Merge branch 'master' into ben/test-custom-editor 2019-11-07 09:45:27 +01:00
Matt Bierner
c8d64b13e5 Add code actions contributon point
For #82718
Fixes #52846

This adds a newly proposed codeActions contribution point. For details, see #82718

This change also makes the intellisense for the `editor.codeActionsOnSave` property dynamic by using the new contribution point
2019-11-06 10:13:59 -08:00
Benjamin Pasero
74d310b7f6 Merge branch 'master' into ben/test-custom-editor 2019-11-06 12:53:37 +01:00
Benjamin Pasero
87064db103 debt - untitled editor => untitled text editor 2019-11-06 12:44:59 +01:00
Benjamin Pasero
bc29be3025 custom editor - first cut playground 2019-11-06 11:53:14 +01:00
Rob Lourens
7460d86cc6 Add remotePathService to workbench.common.main 2019-10-18 09:09:14 -07:00
Benjamin Pasero
205b617cac web - implement text input actions too 2019-09-30 12:48:00 +02:00
Benjamin Pasero
f8cdbe7421 host - reduce methods that are required 2019-09-30 11:32:31 +02:00
Benjamin Pasero
a3801764e3 💄 move things around 2019-09-26 18:16:29 +02:00
Benjamin Pasero
bb8416a5d7 debt - separate browser and desktop workspace editing service 2019-09-26 16:23:19 +02:00
Alex Ross
a5ea66dee5 Refactor file dialog service to fix layer breaker (#81171)
Fixes #81161
2019-09-23 10:29:15 +02:00
Benjamin Pasero
1c6938e342 debt - reload() to host service 2019-09-20 09:14:43 +02:00
Benjamin Pasero
443ab8f33e debt - extract a openEmptyWindow method and support in web 2019-09-19 10:06:21 +02:00
Benjamin Pasero
c8fa927f76 debt - have methods for restart, relaunch 2019-09-19 09:21:01 +02:00
Sandeep Somavarapu
95e877c12b Merge branch 'master' into sandy081/httpEndPointSync 2019-09-18 19:03:24 +02:00
Benjamin Pasero
b5a0ab0c94 debt - introduce IHostService and distinguish between web and desktop 2019-09-18 19:02:05 +02:00
Sandeep Somavarapu
927f8d87a8 Move user data sync to shared process 2019-09-17 23:37:53 +02:00
Sandeep Somavarapu
c38aea395c remote invalid import 2019-09-17 08:27:33 +02:00
Sandeep Somavarapu
d3e1143171 Move user data sync service to platform 2019-09-17 08:23:08 +02:00
Matt Bierner
2320972f5f Revert "Move user data sync service to platform"
This reverts commit 0772a8fcc9.
2019-09-16 16:09:20 -07:00
Sandeep Somavarapu
0772a8fcc9 Move user data sync service to platform 2019-09-17 00:00:29 +02:00
Sandeep Somavarapu
8b22e026a2 move user data sync store service to platform 2019-09-16 23:34:26 +02:00
Sandeep Somavarapu
44eb607fc6 extract settings merge as a service 2019-09-16 23:07:25 +02:00
Benjamin Pasero
5e1179f0b8 web - move help actions to browser 2019-09-16 10:37:58 +02:00
Benjamin Pasero
1d072c60af web - move surveys to browser 2019-09-16 10:28:14 +02:00
Benjamin Pasero
e81ee53809 web - move welcome to browser 2019-09-16 10:21:19 +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
isidor
7c1728e31f debug: introduce breakpointEditorContribution 2019-09-13 18:26:35 +02:00
Benjamin Pasero
73a128e867 web - add workspace editing service support 2019-09-13 08:42:06 +02:00
Sandeep Somavarapu
889c7a8793 Accept and sync changes 2019-09-12 23:24:46 +02:00
Benjamin Pasero
f6df256c60 update - move to browser (#80806)
* web update - first cut service

* web update - move update contribution to browser

* update - tweak settings
2019-09-12 17:53:35 +02:00
Sandeep Somavarapu
3d9d3fe7fd - contribute sync actions to global activity
- implement status in settings sync
- Implement user data sync service
2019-09-11 16:26:09 +02:00
Sandeep Somavarapu
65f14490b7 Merge branch 'master' into sandy081/userDataProvider 2019-09-11 13:42:07 +02: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
6d16d7ac57 remove reference to non existing file 2019-09-10 17:44:03 +02:00
Sandeep Somavarapu
63e24dd208 Merge branch 'master' into sandy081/userDataProvider 2019-09-10 17:40:05 +02:00
Benjamin Pasero
4401cc8350 debt - remove a lot of unused icons 2019-09-10 16:37:01 +02:00
Sandeep Somavarapu
cc0f39133b fix compilation 2019-09-10 15:25:45 +02:00
Sandeep Somavarapu
bc7e628979 add imports 2019-09-03 14:56:08 +02:00
Sandeep Somavarapu
3dc748ccca Merge branch 'master' into sandy081/userDataProvider 2019-09-03 14:55:28 +02:00