Skip to content

Commit

Permalink
make sure to reveal the current symbol in the references tree, #44414
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Mar 16, 2018
1 parent fc7051a commit 290c9d6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 290c9d6

Please sign in to comment.