You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #14557 - shannmu:_cargo_cmds, r=epage
feat: Add custom completer for `cargo help <TAB>`
### What does this PR try to resolve?
Tracking issue #14520
Add custom completer for `cargo help <TAB>`
### Additional information
The current completer function is quite slow because it executes too many functions. One idea I have is to use the file!() macro to list the filenames under the commands directory, excluding mod.rs, and return them as the completion results. Would this approach be too hacky?
0 commit comments