We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9c97246 + dc64cfc commit 3d9319bCopy full SHA for 3d9319b
src/features/DocumentFormatter.ts
@@ -25,7 +25,7 @@ export namespace ScriptFileMarkersRequest {
25
26
// TODO move some of the common interface to a separate file?
27
interface ScriptFileMarkersRequestParams {
28
- filePath: string;
+ fileUri: string;
29
settings: any;
30
}
31
@@ -122,10 +122,11 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
122
let rule = this.ruleOrder[index];
123
let uniqueEdits: ScriptRegion[] = [];
124
let edits: ScriptRegion[];
125
+
126
return this.languageClient.sendRequest(
127
ScriptFileMarkersRequest.type,
128
{
- filePath: document.fileName,
129
+ fileUri: document.uri.toString(),
130
settings: this.getSettings(rule)
131
})
132
.then((result: ScriptFileMarkersRequestResultParams) => {
0 commit comments