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 b6585af commit ac7726fCopy full SHA for ac7726f
server/src/project/workspace.ts
@@ -172,7 +172,7 @@ export class Workspace implements IWorkspace {
172
// Exceptions thrown by the parser should be ignored.
173
let result: VbaFmtListener | undefined;
174
try {
175
- const projectDocument = this.projectDocuments.get(document.uri);
+ const projectDocument = this.projectDocuments.get(document.uri.toFilePath().toFileUri());
176
result = await projectDocument?.formatParse(token);
177
this.logger.info(`Formatted ${document.uri}`);
178
}
0 commit comments