Commit Graph

13 Commits

Author SHA1 Message Date
Logan Ramos a4342f3add Bump telemetry module 2021-10-01 16:52:56 -04:00
Logan Ramos 282f499c22 Update extension telemetry module 2021-09-23 11:26:57 -04:00
Logan Ramos 8dbad73de5 Update built in extensions telemetry 2021-08-27 15:45:42 -04:00
Logan Ramos ecc7fdac90 Bump extension telemetry module 2021-08-27 11:29:48 -04:00
Logan Ramos da7d76d2ec Update extension telemetry module 2021-08-10 12:43:41 -04:00
Logan Ramos 6aa5b9226b Update extension telemetry module 2021-08-09 13:16:08 -04:00
Logan Ramos 9350fa3c9d Bump telemetry module to fix packaging 2021-08-02 14:29:37 -04:00
Logan Ramos b7a07daa5a Fix #129727 2021-08-02 13:04:26 -04:00
Logan Ramos 87e0cb1d43 Fix #129474 2021-07-29 11:39:03 -04:00
Logan Ramos c8e6d08e3a Update to the latest extension module 2021-07-26 13:44:43 -04:00
Martin Aeschlimann 7ebe6a6054 adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
SteVen Batten 9c00242866 updating telemetry module for built-in exts 2021-03-22 16:28:08 -07: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