rust-analyzer/crates/test_utils/src
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
..
fixture.rs Use split_once polyfill 2020-07-30 22:23:12 +02:00
lib.rs Make config.rs a single source of truth for configuration. 2020-12-08 19:25:41 +03:00
mark.rs Use relaxed ordering for marks 2020-07-14 09:04:11 +02:00