We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 683d6c7 commit 064609bCopy full SHA for 064609b
src/server/protocol.ts
@@ -494,7 +494,6 @@ namespace ts.server.protocol {
494
refactor: string;
495
/* The 'name' property from the refactoring action */
496
action: string;
497
- formatOptions?: FormatCodeSettings,
498
};
499
500
src/server/session.ts
@@ -1488,7 +1488,7 @@ namespace ts.server {
1488
1489
const result = project.getLanguageService().getEditsForRefactor(
1490
file,
1491
- args.formatOptions ? convertFormatOptions(args.formatOptions) : this.projectService.getFormatCodeOptions(),
+ this.projectService.getFormatCodeOptions(file),
1492
position || textRange,
1493
args.refactor,
1494
args.action
0 commit comments