rust/crates/ide-completion
bors a0ab61fb6c Auto merge of #13358 - btwotwo:feature/env-vars-autocompletion, r=Veykril
feat: Autocomplete Cargo-defined env vars in `env!` and `option_env!` (#12448)

Closes #12448

Important to know:

- Variables are taken from https://doc.rust-lang.org/cargo/reference/environment-variables.html and hardcoded as a const array.
- For the sake of simplicity I didn't include the autocompletion of `CARGO_BIN_EXE_<name>` and `OUT_DIR` since it would require information about build.rs and binary name. If somebody knows an easy way of obtaining them I can add those vars as well :)
2022-10-11 18:45:31 +00:00
..
src Auto merge of #13358 - btwotwo:feature/env-vars-autocompletion, r=Veykril 2022-10-11 18:45:31 +00:00
Cargo.toml Upgrade to expect-test@1.4.0 2022-07-19 13:00:45 +02:00