remove unnecessary dependsOnIndexing properties
This commit is contained in:
parent
b6c0a58b0e
commit
4bb1717027
3 changed files with 2 additions and 5 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { BaseContextProvider } from "../";
|
||||
import {
|
||||
ContextItem,
|
||||
ContextProviderDescription,
|
||||
|
|
@ -11,7 +12,6 @@ import {
|
|||
getUniqueFilePath,
|
||||
groupByLastNPathParts,
|
||||
} from "../../util/";
|
||||
import { BaseContextProvider } from "../";
|
||||
|
||||
const MAX_SUBMENU_ITEMS = 10_000;
|
||||
|
||||
|
|
@ -21,7 +21,6 @@ class FileContextProvider extends BaseContextProvider {
|
|||
displayTitle: "Files",
|
||||
description: "Type to search",
|
||||
type: "submenu",
|
||||
dependsOnIndexing: true,
|
||||
};
|
||||
|
||||
async getContextItems(
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ class FileTreeContextProvider extends BaseContextProvider {
|
|||
description: "Attach a representation of the file tree",
|
||||
type: "normal",
|
||||
renderInlineAs: "",
|
||||
dependsOnIndexing: true,
|
||||
};
|
||||
|
||||
async getContextItems(
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ import {
|
|||
LoadSubmenuItemsArgs,
|
||||
} from "../../";
|
||||
import {
|
||||
groupByLastNPathParts,
|
||||
getBasename,
|
||||
getUniqueFilePath,
|
||||
groupByLastNPathParts,
|
||||
} from "../../util";
|
||||
import generateRepoMap from "../../util/generateRepoMap";
|
||||
|
||||
|
|
@ -25,7 +25,6 @@ class RepoMapContextProvider extends BaseContextProvider {
|
|||
displayTitle: "Repository Map",
|
||||
description: "Select a folder",
|
||||
type: "submenu",
|
||||
dependsOnIndexing: true,
|
||||
};
|
||||
|
||||
async getContextItems(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue