From 1f609a701f8bdf3c952e415f8872064e64005d78 Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Wed, 6 Nov 2019 12:05:29 +0100 Subject: [PATCH] use goto, not peek references as fallback #83752 --- src/vs/editor/contrib/gotoSymbol/goToCommands.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vs/editor/contrib/gotoSymbol/goToCommands.ts b/src/vs/editor/contrib/gotoSymbol/goToCommands.ts index ed570a0a48c4b..2ec26359502e0 100644 --- a/src/vs/editor/contrib/gotoSymbol/goToCommands.ts +++ b/src/vs/editor/contrib/gotoSymbol/goToCommands.ts @@ -182,7 +182,7 @@ export class DefinitionAction extends SymbolNavigationAction { } protected _getAlternativeCommand(): string { - return 'editor.action.referenceSearch.trigger'; + return 'editor.action.goToReferences'; } protected _getGoToPreference(editor: IActiveCodeEditor): GoToLocationValues { @@ -305,7 +305,7 @@ class DeclarationAction extends SymbolNavigationAction { } protected _getAlternativeCommand(): string { - return 'editor.action.referenceSearch.trigger'; + return 'editor.action.goToReferences'; } protected _getGoToPreference(editor: IActiveCodeEditor): GoToLocationValues { @@ -394,7 +394,7 @@ class TypeDefinitionAction extends SymbolNavigationAction { } protected _getAlternativeCommand(): string { - return 'editor.action.referenceSearch.trigger'; + return 'editor.action.goToReferences'; } protected _getGoToPreference(editor: IActiveCodeEditor): GoToLocationValues {