Pārlūkot izejas kodu

Use the code deltas from TS only, and use the right kind name to trigger the popover

Orta Therox 5 gadi atpakaļ
vecāks
revīzija
c6ad8230be
1 mainītis faili ar 1 papildinājumiem un 6 dzēšanām
  1. 1 6
      src/languageFeatures.ts

+ 1 - 6
src/languageFeatures.ts

@@ -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: {
-				id: codeFix.fixName,
-				title: codeFix.description,
-				tooltip: codeFix.description
-			},
-			kind: codeFix.fixName
+			kind: "quickfix"
 		};
 		};
 
 
 		return action;
 		return action;