aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/inlay_hints.ts
Commit message (Collapse)AuthorAgeFilesLines
* Move type inlay hint truncation to language serverEmil Lauridsen2019-11-191-13/+1
| | | | | | | | | | | | 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.
* Do not truncate the rangeWilco Kusee2019-10-231-30/+10
|
* Make inlay hint length configurableWilco Kusee2019-10-181-14/+26
|
* Truncate hints longer than 20 charactersWilco Kusee2019-10-101-4/+28
|
* Avoid shared mutable stateKirill Bulatov2019-08-051-67/+39
|
* Cache decorations before the first change onlyKirill Bulatov2019-08-051-20/+21
|
* Use WeakMap to avoid memory leaksKirill Bulatov2019-08-051-10/+12
|
* Style and test fixesKirill Bulatov2019-08-041-6/+17
|
* Query less hints on file openKirill Bulatov2019-08-041-18/+34
|
* Style fixesKirill Bulatov2019-07-291-1/+4
|
* Ignore cancelled inlay hints responsesKirill Bulatov2019-07-291-6/+8
|
* npm run fixKirill Bulatov2019-07-251-1/+5
|
* Code review fixesKirill Bulatov2019-07-251-7/+7
|
* Remove unnecessary hacksKirill Bulatov2019-07-251-29/+0
|
* Fix linter issuesKirill Bulatov2019-07-251-27/+61
|
* Simplify the hints displayKirill Bulatov2019-07-251-53/+6
|
* Show type decoratorsKirill Bulatov2019-07-251-0/+142