aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/inlay_hints.rs
Commit message (Collapse)AuthorAgeFilesLines
* Introduce hir::TypeAleksey Kladov2019-11-261-17/+6
| | | | It should provide a convenient API over more low-level Ty
* Add test for inlay hint truncationEmil Lauridsen2019-11-191-0/+37
|
* Move type inlay hint truncation to language serverEmil Lauridsen2019-11-191-15/+22
| | | | | | | | | | | | 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.
* Force passing Source when creating a SourceAnalyzerAleksey Kladov2019-11-151-6/+1
|
* Auto-upgrade some insta snapshotsAleksey Kladov2019-11-151-152/+162
|
* replace AST visitors with macroEkaterina Babshukova2019-10-051-51/+53
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* :arrow_up: instaAleksey Kladov2019-08-291-7/+7
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-5/+5
|
* qualify ast types with `ast::`Aleksey Kladov2019-08-191-11/+8
| | | | | By convention, ast nodes should always be used as `ast::FnDef`. This is to avoid confusion with similarly-named hir types.
* remove ast::*Kind from ra_ide_apiAleksey Kladov2019-08-191-11/+11
|
* implement while let desugaringAleksey Kladov2019-08-071-7/+29
|
* Style and test fixesKirill Bulatov2019-08-041-28/+28
|
* Use proper inlay kindsKirill Bulatov2019-08-041-29/+13
|
* Support destructuring patternsKirill Bulatov2019-07-281-47/+305
|
* Improve inlay hinting for typesKirill Bulatov2019-07-261-61/+121
| | | | | | Add hints for types in for loop expressions. Resolve types for every tuple parameter. Refactor the code.
* Code review fixesKirill Bulatov2019-07-221-29/+20
|
* Use SmolStr for the type textKirill Bulatov2019-07-211-3/+6
|
* Fix the string conversionsKirill Bulatov2019-07-211-2/+2
|
* Resolve types on the serverKirill Bulatov2019-07-211-53/+73
|
* Code review fixesKirill Bulatov2019-07-211-4/+60
|
* Refactor server apiKirill Bulatov2019-07-201-0/+110