mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Remove Requirement for "Add to Watch" to be in debug mode (#153224)
There's no reason this shortcut should require debug mode to run, this would allow the user to pre-populate watch before starting a debug session. Co-authored-by: Rob Lourens <roblourens@gmail.com>
This commit is contained in:
parent
acb9348ee9
commit
267b98d271
|
@ -285,7 +285,7 @@ export class SelectionToWatchExpressionsAction extends EditorAction {
|
|||
id: SelectionToWatchExpressionsAction.ID,
|
||||
label: SelectionToWatchExpressionsAction.LABEL,
|
||||
alias: 'Debug: Add to Watch',
|
||||
precondition: ContextKeyExpr.and(EditorContextKeys.hasNonEmptySelection, CONTEXT_IN_DEBUG_MODE, EditorContextKeys.editorTextFocus),
|
||||
precondition: ContextKeyExpr.and(EditorContextKeys.hasNonEmptySelection, EditorContextKeys.editorTextFocus),
|
||||
contextMenuOpts: {
|
||||
group: 'debug',
|
||||
order: 1
|
||||
|
|
Loading…
Reference in a new issue