include files listed inside workspace .continueignore
This commit is contained in:
parent
207cf9766d
commit
d27dddef3d
1 changed files with 5 additions and 1 deletions
|
|
@ -1,7 +1,10 @@
|
|||
import ignore from "ignore";
|
||||
|
||||
import { IDE } from "../..";
|
||||
import { getGlobalContinueIgArray } from "../../indexing/ignore";
|
||||
import {
|
||||
getGlobalContinueIgArray,
|
||||
getWorkspaceContinueIgArray,
|
||||
} from "../../indexing/ignore";
|
||||
import { getConfigJsonPath } from "../../util/paths";
|
||||
import { findUriInDirs } from "../../util/uri";
|
||||
import { HelperVars } from "../util/HelperVars";
|
||||
|
|
@ -55,6 +58,7 @@ export async function shouldPrefilter(
|
|||
...(helper.options.disableInFiles ?? []),
|
||||
"*.prompt",
|
||||
...getGlobalContinueIgArray(),
|
||||
...(await getWorkspaceContinueIgArray(ide)),
|
||||
];
|
||||
if (await isDisabledForFile(helper.filepath, disableInFiles, ide)) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue