nushell/crates/nu-engine/src
Andrés N. Robalino 03c9eaf005
Variable completions. (#3666)
In Nu we have variables (E.g. $var-name) and these contain `Value` types.
This means we can bind to variables any structured data and column path syntax
(E.g. `$variable.path.to`) allows flexibility for "querying" said structures.

Here we offer completions for these. For example, in a Nushell session the
variable `$nu` contains environment values among other things. If we wanted to
see in the screen some environment variable (say the var `SHELL`) we do:

```
> echo $nu.env.SHELL
```

with completions we can now do: `echo $nu.env.S[\TAB]` and we get suggestions
that start at the column path `$nu.env` with vars starting with the letter `S`
in this case `SHELL` appears in the suggestions.
2021-06-23 19:21:39 +12:00
..
env Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
evaluate Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
filesystem Move path handling to nu-path (#3653) 2021-06-20 11:07:26 +12:00
plugin Fix issue in external subexpression paths (#3642) 2021-06-18 07:59:58 +12:00
shell Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
types Begin directory contrib docs and split commands (#3650) 2021-06-19 12:06:44 +12:00
call_info.rs Switch to "engine-p" (#3270) 2021-04-06 11:19:43 -05:00
command_args.rs Refactor rarely changing engine state into its own struct (#3612) 2021-06-14 15:19:12 +12:00
config_holder.rs enable theming of the command line syntax (#3606) 2021-06-11 14:17:43 -05:00
documentation.rs Allow composing help message from two parts (#3124) 2021-03-08 12:57:58 +13:00
evaluation_context.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
example.rs Split nu-cli into nu-cli/nu-engine (#2898) 2021-01-10 15:50:49 +13:00
from_value.rs Further improve arg errors (#3598) 2021-06-10 20:33:06 +12:00
lib.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
maybe_text_codec.rs Fix a bunch of future clippy warnings (#3586) 2021-06-10 07:08:12 +12:00
print.rs Refactor rarely changing engine state into its own struct (#3612) 2021-06-14 15:19:12 +12:00
script.rs Move path handling to nu-path (#3653) 2021-06-20 11:07:26 +12:00
types.rs Begin directory contrib docs and split commands (#3650) 2021-06-19 12:06:44 +12:00
whole_stream_command.rs Fix issue in external subexpression paths (#3642) 2021-06-18 07:59:58 +12:00