rust/crates/project_model/src
Jamie Cunliffe 284483b347 Improve completion of cfg attributes
The completion of cfg will look at the enabled cfg keys when
performing completion.

It will also look crate features when completing a feature cfg
option. A fixed list of known values for some cfg options are
provided.

For unknown keys it will look at the enabled values for that cfg key,
which means that completion will only show enabled options for those.
2021-06-21 17:47:00 +01:00
..
build_data.rs Avoid string allocation 2021-06-18 14:46:18 +03:00
cargo_workspace.rs Implement a config override for the default #[cfg(test)] in cargo crates 2021-06-19 01:09:19 -07:00
cfg_flag.rs internal: use API stabilized in 1.52 2021-05-06 20:12:15 +03:00
lib.rs Implement a config override for the default #[cfg(test)] in cargo crates 2021-06-19 01:09:19 -07:00
project_json.rs Add more docs 2021-05-22 16:53:47 +03:00
rustc_cfg.rs Use RUSTC_BOOTSTRAP=1 instead of +nightly when discovering rust_cfgs throughs cargo 2021-05-09 00:07:04 +02:00
sysroot.rs Update sysroot crates 2021-06-21 15:26:26 +02:00
workspace.rs Improve completion of cfg attributes 2021-06-21 17:47:00 +01:00