rust-analyzer/crates/ra_hir/src
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
..
code_model Add MacroDefKind 2019-11-11 18:48:16 +08:00
ty Move type inlay hint truncation to language server 2019-11-19 17:23:50 +01:00
adt.rs Unfork struct and union ids 2019-11-09 15:34:00 +03:00
code_model.rs Remove old impls infrastructure 2019-11-15 21:35:03 +03:00
db.rs Upgrade Chalk again 2019-11-16 13:25:54 +01:00
debug.rs cleanup 2019-10-29 16:19:08 +03:00
diagnostics.rs Move CrateDefMap to hir_def 2019-11-03 18:04:06 +03:00
expr.rs Flatten expr module 2019-11-15 14:53:09 +03:00
from_id.rs Remove old impls infrastructure 2019-11-15 21:35:03 +03:00
from_source.rs Handle ast::MacroCall in classify_name and impl FromSource for MacroDef 2019-11-15 16:47:58 -05:00
generics.rs Publicise GenericParams 2019-11-18 10:35:33 +03:00
ids.rs Upgrade Chalk 2019-11-16 13:11:29 +01:00
impl_block.rs Remove old impls infrastructure 2019-11-15 21:35:03 +03:00
lang_item.rs Remove old impls infrastructure 2019-11-15 21:35:03 +03:00
lib.rs Remove old impls infrastructure 2019-11-15 21:35:03 +03:00
marks.rs Move expression lowering to hir_def 2019-11-12 18:46:57 +03:00
resolve.rs Remove old impls infrastructure 2019-11-15 21:35:03 +03:00
source_binder.rs More correct expansion mapping 2019-11-17 20:15:55 +03:00
test_db.rs Privatize modules 2019-11-15 10:42:54 +03:00
traits.rs push name down to hir_expand 2019-10-30 18:56:20 +03:00
ty.rs Move type inlay hint truncation to language server 2019-11-19 17:23:50 +01:00
type_alias.rs push name down to hir_expand 2019-10-30 18:56:20 +03:00
util.rs make_mut_slice 2019-10-14 19:50:12 +09:00