rust/crates/rust-analyzer
Aleksey Kladov 2544abbf86 Make config.rs a single source of truth for configuration.
Configuration is editor-independent. For this reason, we pick
JSON-schema as the repr of the source of truth. We do specify it using
rust-macros and some quick&dirty hackery though.

The idea for syncing truth with package.json is to just do that
manually, but there's a test to check that they are actually synced.

There's CLI to print config's json schema:

    $ rust-analyzer --print-config-schema

We go with a CLI rather than LSP request/response to make it easier to
incorporate the thing into extension's static config. This is roughtly
how we put the thing in package.json.
2020-12-08 19:25:41 +03:00
..
src Make config.rs a single source of truth for configuration. 2020-12-08 19:25:41 +03:00
tests/rust-analyzer Latest LSP 3.16 protocol 2020-11-16 15:10:13 -05:00
build.rs Fix fmt 2020-06-19 02:25:07 +08:00
Cargo.toml Make config.rs a single source of truth for configuration. 2020-12-08 19:25:41 +03:00