mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Use the code deltas from TS only, and use the right kind name to trigger the popover
This commit is contained in:
parent
e86c4f00bf
commit
c6ad8230be
1 changed files with 1 additions and 6 deletions
|
|
@ -691,12 +691,7 @@ export class CodeActionAdaptor extends FormatHelper implements monaco.languages.
|
||||||
title: codeFix.description,
|
title: codeFix.description,
|
||||||
edit: { edits: edits },
|
edit: { edits: edits },
|
||||||
diagnostics: context.markers,
|
diagnostics: context.markers,
|
||||||
command: {
|
kind: "quickfix"
|
||||||
id: codeFix.fixName,
|
|
||||||
title: codeFix.description,
|
|
||||||
tooltip: codeFix.description
|
|
||||||
},
|
|
||||||
kind: codeFix.fixName
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return action;
|
return action;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue