We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1968a45 + 06c9778 commit ff37190Copy full SHA for ff37190
src/providers/DocumentContentProvider.ts
@@ -64,6 +64,12 @@ export class DocumentContentProvider implements vscode.TextDocumentContentProvid
64
});
65
vfs = true;
66
scheme = wFolderUri.scheme;
67
+ // If this is a class or routine, remove the CSP query param if it's present
68
+ if (uri.query === "csp" && /cls|mac|int|inc/i.test(fileExt)) {
69
+ uri = uri.with({
70
+ query: "",
71
+ });
72
+ }
73
} else {
74
const conn = config("conn", workspaceFolder);
75
const localFile = this.getAsFile(name, workspaceFolder);
0 commit comments