1. 11 10月, 2019 3 次提交
  2. 05 10月, 2019 1 次提交
  3. 02 10月, 2019 1 次提交
  4. 26 9月, 2019 1 次提交
  5. 24 9月, 2019 1 次提交
  6. 14 9月, 2019 1 次提交
  7. 11 9月, 2019 2 次提交
    • M
      2d3727b3
    • M
      Prototyping custom editors (#77789) · 011836a1
      Matt Bierner 提交于
      * 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
      011836a1
  8. 03 9月, 2019 1 次提交
  9. 30 8月, 2019 1 次提交
  10. 29 8月, 2019 1 次提交
  11. 27 8月, 2019 1 次提交
  12. 20 8月, 2019 1 次提交
  13. 16 8月, 2019 1 次提交
  14. 12 8月, 2019 1 次提交
  15. 26 7月, 2019 1 次提交
  16. 20 7月, 2019 1 次提交
  17. 18 7月, 2019 2 次提交
    • M
      Rewrite how webviews are managed internally · 928ae464
      Matt Bierner 提交于
      This change attempts to do the following:
      
      - Encapsult most of the logic for handling the webviews used for webview editors into a new WebviewEditorOverlay class
      - Greatly simplify WebviewEditorInput and make it take a webview when it is created
      - Move the webview creation logic up into the webviewEditorService instead of having it be inside the webviewEditor class itself
      
      This aim of these changes is to make it possible to re-use more of the webview logic for custom editors
      928ae464
    • M
      Start with no state, instead of empty object state · 8bdcd22b
      Matt Bierner 提交于
      8bdcd22b
  18. 13 7月, 2019 1 次提交
    • M
      Support loading webviews from wildcard endpoints · 5106b556
      Matt Bierner 提交于
      Fixes #77132
      
      Add support for loading webviews from and endpoint that looks like:
      
      ```
      https://{{uuid}}.contoso.com/path/to/some/commit/index.html
      ```
      
      This lets us serve each webview from a seperate origin
      5106b556
  19. 11 7月, 2019 1 次提交
  20. 14 6月, 2019 1 次提交
  21. 04 4月, 2019 1 次提交
  22. 02 4月, 2019 1 次提交
  23. 23 3月, 2019 1 次提交
  24. 22 3月, 2019 1 次提交
  25. 21 3月, 2019 2 次提交
  26. 14 3月, 2019 2 次提交
  27. 13 3月, 2019 3 次提交
  28. 12 3月, 2019 1 次提交
  29. 06 3月, 2019 1 次提交
  30. 02 3月, 2019 3 次提交