提交 ebe9ea85 编写于 作者: M Matt Bierner

Temp fix for go to definition not working

Fixes #63448

**Bug**
go to definition and go to declaration both were registered with the `editor.action.goToRealDeclaration`  command id.

**Fix**
Use temporary new command id to avoid this. We should change the id to something better.
上级 0bfb7fcb
......@@ -268,9 +268,11 @@ export class DeclarationAction extends DefinitionAction {
export class GoToDeclarationAction extends DeclarationAction {
public static readonly ID = 'editor.action.goToRealDeclaration';
constructor() {
super(new DefinitionActionConfig(), {
id: 'editor.action.goToDeclaration',
id: GoToDeclarationAction.ID,
label: nls.localize('actions.goToDeclaration.label', "Go to Declaration"),
alias: 'Go to Declaration',
precondition: ContextKeyExpr.and(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册