- 20 6月, 2020 16 次提交
-
-
由 Benjamin Pasero 提交于
-
由 Benjamin Pasero 提交于
-
由 Benjamin Pasero 提交于
-
由 Benjamin Pasero 提交于
-
由 Matt Bierner 提交于
* Add CoreCommandService For #90110 This change introduce a new service (`ICoreCommandService`) that lets high levels parts of the editor (such as webviews) hook into core commands such as undo and redo that are fired from the editor menus. ## Why is this needed? To implement undo/redo in custom editors / webviews, we currently register special commands (`editor.action.customEditor.undo` and `editor.action.customEditor.redo`). This is not ideal since it means that users have to update multiple commands if they wish to rebind undo/redo These custom command also are not invoked when the user goes to the `edit` menu and select `undo` or `redo`. Instead, the edit menu always calls the core `UndoCommand` We cannot make `UndoCommand` know about custom editors because it lives in `base` ## What this change does? This change adds a new `ICoreCommandService` that lets higher level parts of the editor override core commands such as undo and redo. We use a similar approach in the `IOpenerService`. Right now only `undo` and `redo` are overridable. If this approach looks ok, we could also extend it to `copy`, `paste`, `cut`, and `select all` * Add docs and clean up types * Rework implementation Switch from using a command service to having each command state if is overrideable or not. This hooks up overrides for: - Undo/redo - cut/copy/paste for webviews, custom editors, and notebooks * Add ProxyCommand so that multiple registered commands can share a single implementation * Fix compilation & missing file being referenced * Introduce and adopt MultiCommand for Undo * Adopt MultiCommand for Redo and SelectAll * Adopt MultiCommand for Cut, Copy and Paste Co-authored-by: NAlex Dima <alexdima@microsoft.com>
-
由 Sandeep Somavarapu 提交于
-
由 Sandeep Somavarapu 提交于
-
由 Sandeep Somavarapu 提交于
-
由 Martin Aeschlimann 提交于
-
由 Eric Amodio 提交于
Adds a safety-net check for Codespaces until the fix can be verified
-
由 Martin Aeschlimann 提交于
-
由 Martin Aeschlimann 提交于
-
由 Martin Aeschlimann 提交于
-
由 deepak1556 提交于
-
由 Jackson Kearl 提交于
-
由 Jackson Kearl 提交于
-
- 19 6月, 2020 24 次提交
-
-
由 Benjamin Pasero 提交于
-
由 Sandeep Somavarapu 提交于
- Add package nls url to scanned extension - Introduce scanner service for builtin extensions - Introduce scanner service for web extensions - Use web extensions scanner service in management and runtime - Apply default translation inside management service
-
由 Daniel Imms 提交于
-
由 Benjamin Pasero 提交于
-
由 Benjamin Pasero 提交于
-
由 Daniel Imms 提交于
-
由 Daniel Imms 提交于
-
由 Benjamin Pasero 提交于
-
由 Benjamin Pasero 提交于
-
由 Benjamin Pasero 提交于
-
由 Sandeep Somavarapu 提交于
-
由 Jackson Kearl 提交于
-
由 Jackson Kearl 提交于
-
由 Matt Bierner 提交于
For #100442 When we moved the webview resource protocol to the main process, I updated the uri normalization logic so that it could load remote resources properly. This however broke VSO since their resources are still loaded from the renderer process. This change restores the old normalization for the renderer side resource loader.
-
由 Matt Bierner 提交于
For #100442 Also make sure we use the correct scheme for the making requests
-
由 Sandeep Somavarapu 提交于
-
由 Jackson Kearl 提交于
-
由 Matt Bierner 提交于
For #100442 The csp field is a string, not the csp element itself Also adds proper typings for it
-
由 Sandeep Somavarapu 提交于
-
由 rebornix 提交于
-
由 Andre Weinand 提交于
-
由 rebornix 提交于
-
由 Keshav Bohra 提交于
* fixed #99980 * reverting the change #99980, already fixed * Fixed some commented words
-
由 Johannes Rieken 提交于
open overwrite should re-use existing editor even when the editor is optional, https://github.com/microsoft/vscode/issues/99496
-