mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +01:00
9f85b10fcb
The completion engine maps completion locations to spans on a line, which indicate whther to complete a command name, flag name, argument, and so on. Initial implementation is simplistic, with some rough edges, since it relies heavily on the parser's interpretation. For example du - if asking for completions, `-` is considered a positional argument by the parser, but the user is likely looking for a flag. These scenarios will be addressed in a series of progressive enhancements to the engine. |
||
---|---|---|
.. | ||
commands | ||
completion | ||
env | ||
evaluate | ||
shell | ||
stream | ||
utils | ||
cli.rs | ||
commands.rs | ||
context.rs | ||
deserializer.rs | ||
documentation.rs | ||
env.rs | ||
examples.rs | ||
format.rs | ||
futures.rs | ||
git.rs | ||
keybinding.rs | ||
lib.rs | ||
path.rs | ||
prelude.rs | ||
shell.rs | ||
utils.rs |