Skip to content

Commit

Permalink
use goto, not peek references as fallback #83752
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 6, 2019
1 parent 6d39826 commit 1f609a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/vs/editor/contrib/gotoSymbol/goToCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 1f609a7

Please sign in to comment.