Open shellwhale opened 1 year ago
Hi @daxian-dbw, currently, all custom completions and executable files do not prompt. Is there a way to achieve this functionality?
Unfortunately, the completion for native commands doesn't work with completion predictor today because they are too slow. For a predictor to work with PSReadLine today, it needs to return results within 20ms, which is impossibly for most of native command completers. We have a work item in PSReadLine to allow longer timeout by separating the prediction rendering from the user typing rendering, but we haven't got to it yet.
Thanks for your reply! I've just seen the latest vscode terminal integration do something similar, but I'm using Windows Terminal more often than not.
Prerequisites
Steps to reproduce
Expected behavior
Actual behavior
Error details
No response
Environment data
Version
0.1.0
Visuals
No response