make sure to reveal the current symbol in the references tree, #44414

This commit is contained in:
Johannes Rieken
2018-03-16 13:47:47 +01:00
parent fc7051a897
commit 290c9d6140

View File

@@ -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();
}