mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
make sure to reveal the current symbol in the references tree, #44414
This commit is contained in:
@@ -178,6 +178,7 @@ export class ReferencesController implements editorCommon.IEditorContribution {
|
||||
let source = this._model.nearestReference(this._editor.getModel().uri, this._widget.position);
|
||||
let target = this._model.nextOrPreviousReference(source, fwd);
|
||||
this._gotoReference(target);
|
||||
this._widget.setSelection(target);
|
||||
this._editor.focus();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user