Commit graph

65 commits

Author SHA1 Message Date
Sandeep Somavarapu a46a5dba98 #88322 Provide a picker to select extensions to sync 2020-01-16 09:03:39 +01:00
Benjamin Pasero 1f5a5470c5 implement backup on shutdown via working copies (#84672) 2020-01-14 15:30:23 +01:00
Johannes Rieken ddb6d058f7 Merge branch 'master' into joh/bulkEditPreview 2019-12-20 12:01:15 +01:00
Sandeep Somavarapu dbc7fa3c3e #87246 Introduce name in view container 2019-12-18 21:42:56 +01:00
Johannes Rieken ee9d42129d first cut of panel and changes tree 2019-12-18 12:08:06 +01:00
Benjamin Pasero 19062a2976 debt - move workbench.enableExperiments to correct place 2019-12-18 11:42:43 +01:00
Matt Bierner 529351318e Removing test custom editors 2019-12-02 17:53:32 -08:00
Benjamin Pasero d2cff74b66 web - make sure adblocker do not prevent startup
Renamed workspace stats => workspace tags
2019-11-13 07:47:20 +01:00
Rachel Macfarlane b9a9714d4c First cut of OAuth in the AuthTokenService 2019-11-11 12:45:38 -08: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 bc29be3025 custom editor - first cut playground 2019-11-06 11:53:14 +01:00
Benjamin Pasero 6ee1da3dc5 debt - shuffle things around 2019-09-27 09:44:35 +02:00
Benjamin Pasero 64eed745f5 💄 move a few services around 2019-09-26 18:37:58 +02:00
Sandeep Somavarapu 1e10216856 trigger sync after closing the conflicts editor 2019-09-18 12:37:21 +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 c26e198c9c settings sync using remote user data service 2019-09-10 15:16:57 +02:00
Sandeep Somavarapu bb1866ab4e User data sync: Implement starting flow
- user identity
- user login provider
- user data provider
- activation event
- status bar UI
2019-08-25 20:25:16 +02:00
Yisrael Veller f084f2c793 Reuse never show again logic - work in progress (#73968)
* Support never show again option in notification service

* in notify put never show again as secondary

* Allow customization of whether never show again is shown as secondary or primary

* put never show again inside notification object

* feedback

* feedback
2019-08-08 15:47:15 +02:00
Johannes Rieken 6f1da34c2e debt - decouple webviews from code insets, move things to /browser/-layer, change inset api proposal to push style, re #66418 2019-06-04 12:31:18 +02:00
Alex Dima 9bcd00284b Add remote.contribution 2019-05-22 11:50:49 +02:00
Benjamin Pasero d5e88fa051 files - more cleanup 2019-04-16 14:40:19 +02:00
Benjamin Pasero 71204c12d1
FileService2 - implement createFolder() (#70758)
* files2 - implement createFolder()

* files2 - easier to understand root check
2019-03-19 15:25:47 +01:00
Johannes Rieken 2f89a79efe api proposal, add call hierarchy contrib 2019-03-14 16:14:43 +01:00
Daniel Imms 08f1e188f6 Rename contrib/execution to externalTerminal
Part of #69107
2019-03-04 16:29:20 -08:00
Rob Lourens f7bfa34a67 Fix build - remove nls.mock reference 2019-02-14 22:51:16 +00:00
Johannes Rieken 3283483974 add formatter call, use it for no-formatter-case for now #41882 2019-02-14 11:16:32 +01:00
Benjamin Pasero 06ccc3a515 debt - move integrity service to workbench 2019-02-09 16:49:44 +01:00
Alex Dima 51305a6647 Remove syncExtensions from ResolvedAuthority 2019-02-08 15:24:36 +01:00
Benjamin Pasero 176b65a432 debt - make issue service a contrib to the workbench 2019-02-08 07:47:24 +01:00
Benjamin Pasero d0f043db69 debt - move jsonValidationExtensionPoint out of services 2019-02-08 07:34:50 +01:00
Benjamin Pasero 35523f6c51 debt - workbench/parts => workbench/contrib (update imports and scripts) 2019-02-07 11:48:58 +01:00
isidor c47c001600 move labelService to workbench 2019-01-10 17:21:53 +01:00
Alex Dima 88bb48278d Authority exploration 2018-11-08 21:59:56 +01:00
Johannes Rieken ac643e170c show progress when activating an extension via onCommand:Foo, #59645 2018-10-23 12:04:56 +02:00
Benjamin Pasero db6ebe93f8 remove now obsolete code 2018-10-11 12:56:54 +02:00
Benjamin Pasero 33911f0634 fix #45749 2018-09-24 07:40:35 +02:00
Benjamin Pasero 4d0b3d025e debt week code cleanup
- avoid public modifier
- use Disposable where applicable
- fix some event handler leaks
- clean up some TODO@ben
2018-07-02 10:55:26 +02:00
Peng Lyu 9acfd66aa0 Merge remote-tracking branch 'upstream/master' into rebornix/review 2018-05-18 10:16:19 -07:00
Johannes Rieken 2fbc328d86 outline baby steps 2018-05-08 09:02:08 +02:00
Johannes Rieken 727774d6bc debt - make bulkEdit a service so that we can add create/delete/rename file to it 2018-04-30 12:30:24 +02:00
Peng Lyu cbee2c0ce5 Merge remote-tracking branch 'upstream/master' into rebornix/review 2018-04-24 08:23:32 -07:00
Joao Moreno d6b38359e6 proposed open url api 2018-04-20 13:43:08 +02:00
Peng Lyu 8107cbff1c move comment widget out of editor 2018-04-16 14:45:34 -07:00
Sandeep Somavarapu dc97c9d819 Fix #29078 2018-04-05 17:02:40 +02:00
isidor f2584c364d Bail out from launch for unresolvable variables
fixes #44411
2018-03-07 22:44:41 +01:00
Matt Bierner 267f791f2c Move webview editor and input to own part 2018-03-05 14:07:17 -08:00
Alex Dima 07b2c8015c Move extension points up to /workbench/ (#44281) 2018-02-23 17:38:23 +01:00
Benjamin Pasero 9ab2056393 notifications - remove old message service and adopt new one 2018-02-19 17:57:12 +01:00