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.
2 parents 96490c7 + 81d9df5 commit 48a4d17Copy full SHA for 48a4d17
src/providers/FileSystemPovider/FileSearchProvider.ts
@@ -34,6 +34,13 @@ export class FileSearchProvider implements vscode.FileSearchProvider {
34
if (category === "*" && file.cat === "CSP") {
35
return null;
36
}
37
+ if (file.cat !== "CSP") {
38
+ if (file.name.startsWith("%") && api.ns !== "%SYS") {
39
+ return null;
40
+ }
41
+ const nameParts = file.name.split(".");
42
+ file.name = nameParts.slice(0, -2).join("/") + "/" + nameParts.slice(-2).join(".");
43
44
if (!options.maxResults || ++counter <= options.maxResults) {
45
return options.folder.with({ path: `/${file.name}` });
46
} else {
0 commit comments