Completion: access to whole input? #5708
Replies: 2 comments 2 replies
-
Support for context-aware completions is something we are intentionally holding off on at the moment. Our primary goals are (1) feature parity with the static completions and (2) feature parity with Cargo's completions (our test client for this feature). This will take a bit of design work. We don't want to expose the literal |
Beta Was this translation helpful? Give feedback.
-
I currently use multiple command line parsing to try to bypass the context-free association |
Beta Was this translation helpful? Give feedback.
-
When using dynamic completion I have access to the currently typed argument in the custom completer passed to
ArgValueCompleter::new
.Would it possible to also get access to the other arguments, that have been entered already? This would help to get dynamic completions in some cases?
Example:
would also provide access to
-a
-b
which can be used to completesomestart
.Beta Was this translation helpful? Give feedback.
All reactions