Commit Graph

20 Commits

Author SHA1 Message Date
Johannes Rieken
ff4d96587f ensure vscode.window.showTextEditor opens a text editor not a custom editor, #96397 2020-04-30 14:31:29 +02:00
Matt Bierner
7d238f4281 Add 'open with' to the explorer context menu (#95805)
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
2020-04-23 14:16:36 -07:00
Matt Bierner
70a890efb6 Make _workbench.openWith support other editor types
For #94408

Moves this out of custom editors
2020-04-21 14:44:24 -07:00
Benjamin Pasero
a03ea07917 editors - include editor in name for inputs to make things clear 2020-03-03 11:44:46 +01:00
Benjamin Pasero
418d1974ca Workbench editor renames (#91943)
* 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
2020-03-03 10:47:50 +01:00
Johannes Rieken
0d3b5da08b bulk - refactor much to be prepared for WorkspaceEditMetadata 2020-01-20 12:18:04 +01:00
Johannes Rieken
3e6ba164cc show preview only for rename 2020-01-10 07:00:00 +01:00
Johannes Rieken
3cdfbd5fb1 (re)enable preview for vscode.workspace.applyWorkspaceEdit 2020-01-07 14:32:16 +01:00
Johannes Rieken
3892a7d05f only preview rename and code actions 2020-01-07 12:54:15 +01:00
Benjamin Pasero
58583a7b84 fix #79633 2019-08-29 08:29:23 +02:00
Benjamin Pasero
9a67092e0d editors - preserve group activation behaviour for extensions 2019-08-27 11:12:49 +02:00
Johannes Rieken
32da48e7a0 consistent dto namings 2019-08-05 16:50:13 +02:00
Matt Bierner
20d2018d18 Convert to async 2019-07-15 15:44:16 -07:00
Matt Bierner
be5a4fa940 💄 2019-07-15 15:42:48 -07:00
Matt Bierner
afe2da7ed6 Use a map instead of a object to store editors 2019-07-15 11:47:29 -07:00
Matt Bierner
ae2cc878f8 Using DisposableStore in mainThread class
#74250
2019-07-02 16:37:35 -07:00
Matt Bierner
3bb736272e Mark readonly on insertSnippet
This function does not modify the input array
2019-06-13 14:11:46 -07:00
Johannes Rieken
2cd36100c4 Revert "Update more places where we are using an IDispoable[]"
This reverts commit 869e5921d8.
2019-06-06 15:31:23 +02:00
Matt Bierner
869e5921d8 Update more places where we are using an IDispoable[]
Either extend `Disposable` or use a readonly `DispoableStore`
2019-06-05 15:41:45 -07:00
Johannes Rieken
1d3215d100 move mainThread[D,E], #70319 2019-03-20 11:29:03 +01:00