Open
Description
Instead of importing all specs up front:
vscode/extensions/terminal-suggest/src/terminalSuggestMain.ts
Lines 48 to 55 in ec82ef2
We should support lazy loading of the files by generating an index file that includes only the information required to show the command information which currently is just the name and description:
Then if the user requests completions for an argument, we would load the spec via an await import
.
This will help performance and memory consumption scaling as we add more specs.