nushell/crates/nu-protocol/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
..
dataframe Fix issue in external subexpression paths (#3642) 2021-06-18 07:59:58 +12:00
value Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
call_info.rs move out call info deserializing from str (#3294) 2021-04-09 22:58:18 -05:00
config_path.rs Refactor nu-cli/env* (#3041) 2021-03-31 18:52:34 +13:00
hir.rs Add built-in var to refer to pipeline values (#3661) 2021-06-21 12:31:01 +12:00
lib.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
macros.rs Flush out! lines, helps autoview (#2952) 2021-01-20 07:23:37 +13:00
maybe_owned.rs Add more comments (#1228) 2020-01-16 05:28:31 +13:00
registry.rs Variable completions. (#3666) 2021-06-23 19:21:39 +12:00
return_value.rs Remove unused help shell. Slight cleanup and improvement. (#3258) 2021-04-03 18:56:46 -05:00
signature.rs allow str from to convert more things to string (#2977) 2021-01-29 07:43:35 -06:00
syntax_shape.rs Split unit into duration and filesize (#3453) 2021-05-21 13:21:46 +12:00
type_name.rs More docs and random fixes (#1237) 2020-01-19 08:42:36 +13:00
type_shape.rs Groupby operations on dataframes (#3473) 2021-05-23 19:37:04 +12:00
value.rs Fix a bunch of future clippy warnings (#3586) 2021-06-10 07:08:12 +12:00