src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.ts/GotoDefinitionAtPositionEditorContribution/gotoDefinition
class GotoDefinitionAtPositionEditorContribution:	private gotoDefinition(position: Position, openToSide: boolean): Promise<any> {
		this.editor.setPosition(position);
		return this.editor.invokeWithinContext((accessor) => {
			const canPeek = !openToSide && this.editor.getOption(EditorOption.definitionLinkOpensInPeek) && !this.isInPeekEditor(accessor);
			const action = new DefinitionAction({ openToSide, openInPeek: canPeek, muteMessage: true }, { title: { value: '', original: '' }, id: '', precondition: undefined });
			return action.run(accessor, this.editor);
		});
	}