1. 24 4月, 2020 1 次提交
    • M
      Add 'open with' to the explorer context menu (#95805) · 7d238f42
      Matt Bierner 提交于
      This change primarly adds a new `Open with...` entry to the explorer context menu. To do this however, I had to make a few other changes:
      
      - Add a new explorer context key for availible editors
      - Moved the editor select prompt into a new function called `openEditorWith`
      - Use `openEditorWith` for the new `open with` explorer command as well as for the `reopen with` command
      7d238f42
  2. 23 4月, 2020 1 次提交
  3. 17 4月, 2020 2 次提交
  4. 16 4月, 2020 1 次提交
  5. 14 4月, 2020 1 次提交
  6. 13 4月, 2020 1 次提交
  7. 10 4月, 2020 1 次提交
  8. 09 4月, 2020 5 次提交
  9. 04 4月, 2020 1 次提交
  10. 03 4月, 2020 1 次提交
  11. 02 4月, 2020 1 次提交
  12. 31 3月, 2020 2 次提交
  13. 28 3月, 2020 2 次提交
  14. 27 3月, 2020 1 次提交
  15. 26 3月, 2020 1 次提交
  16. 25 3月, 2020 1 次提交
  17. 24 3月, 2020 1 次提交
  18. 17 3月, 2020 2 次提交
  19. 14 3月, 2020 2 次提交
  20. 10 3月, 2020 1 次提交
  21. 05 3月, 2020 2 次提交
  22. 03 3月, 2020 3 次提交
    • B
    • B
      Workbench editor renames (#91943) · 418d1974
      Benjamin Pasero 提交于
      * IEditor => IEditorPane
      
      * More panes:
      * IVisibleEditor => IVisibleEditorPane
      * ITextEditor => ITextEditorPane
      * ITextDiffEditor => ITextDiffEditorPane
      
      * imports - remove type alias
      
      * More pane renames
      * IEditorService#activeControl => activeEditorPane
      * IEditorService#visibleControls => visibleEditorPanes
      
      * More editor renames
      * activeTextEditorWidget => activeTextEditorControl
      * visibleTextEditorWidgets => visibleTextEditorControls
      418d1974
    • M
      Rework management of custom editor custom models · 44c76bd3
      Matt Bierner 提交于
      Fixes #91670
      
      - Move model type logic out of `CustomEditorInput` and into two different implementations of `ICustomEditorModel`
      - Add `CustomTextEditorModel` that owns a proper model reference to a text document. This should ensure the text document is disposed of if there are no more references to it
      - Move most of the previous `CustomEditorModel` into `mainThreadWebviews` directly. This removes some of the indirection that was previously required (such as using `waitUntil`)
      44c76bd3
  23. 27 2月, 2020 1 次提交
  24. 26 2月, 2020 1 次提交
  25. 22 2月, 2020 1 次提交
    • M
      New iteration of webview editor API proposal · 99d5733e
      Matt Bierner 提交于
      For #77131
      
      **Motivation**
      While our existing webview editor API proposal more or less works, building an editable webview editor is fairly tricky using it! This is especially true for simple text based editors.
      
      It'd also be nice if we could get bi-directional live editing for text files. For example, if I open the same file in a webview editor and in VS Code's normal editor, edits on either side should be reflected in the other. While this can sort of be implemented using the existing API, it has some big limitations
      
      **Overview of changes**
      To address these problems, we've decided have two types of webview editors:
      
      - Text based webview editors. These editors used a `TextDocument` as their data model, which considerably simplifies implementing an editable webview. In almost all cases, this should be what you use for text files
      
      - Complex webview editors. This is basically the existing proposed API. This gives extension hooks into all the VS Code events, such as `save`, `undo`, and so on. These should be used for binary files or in very complex text editor cases.
      
      Both editor types now have an explicit model layer based on documents. Text editor use `TextDocument` for this, while custom editors use `WebviewEditorCustomDocument`. This replaces the delegate based approach previously used.
      99d5733e
  26. 19 2月, 2020 1 次提交
  27. 18 2月, 2020 2 次提交