rust-analyzer/crates/ra_lsp_server
Emil Lauridsen dadad36bb9 Move type inlay hint truncation to language server
This commit implements a general truncation framework for HirFormatter
that keeps track of how much has been output so far. This information
can then be used to perform truncation inside the language server,
instead of relying on the client.

Initial support is implemented for truncating types hints using the
maxInlayHintLength server config option. The existing solution in the
VSCode extension has been removed in favor of letting the server
truncate type hints.
2019-11-19 17:23:50 +01:00
..
src Move type inlay hint truncation to language server 2019-11-19 17:23:50 +01:00
tests/heavy_tests Use raw cfgs in json project and fix typo 2019-10-05 20:55:27 +08:00
Cargo.toml Disable doctests 2019-11-17 18:35:05 +03:00