소스 검색

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

Orta Therox 5 년 전
부모
커밋
c6ad8230be
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  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,
 			edit: { edits: edits },
 			diagnostics: context.markers,
-			command: {
-				id: codeFix.fixName,
-				title: codeFix.description,
-				tooltip: codeFix.description
-			},
-			kind: codeFix.fixName
+			kind: "quickfix"
 		};
 
 		return action;