aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/inlay_hints.ts
Commit message (Collapse)AuthorAgeFilesLines
* Code review fixesKirill Bulatov2020-03-301-4/+6
| | | | Co-Authored-By: Veetaha <veetaha2@gmail.com>
* Style fixesKirill Bulatov2020-03-301-1/+3
|
* Extension types and renderingMatt Hooper2020-03-241-3/+29
|
* vscode: remove unnecessary codeVeetaha2020-03-201-2/+0
| | | This cancel is unnecessary since we cancel the previous inlay hints requests in `fetchHints()` method itself. This is not a hard error, we just called cancel() 2 times.
* Switch from Vec<InlayKind> to object with propsSteffen Lyngbaek2020-03-121-1/+1
| | | | | | | - Instead of a single object type, use several individual nested types to allow toggling from the settings GUI - Remove unused struct definitions - Install and test that the toggles work
* Parameter inlay hint separate from variable type inlay? #2876Steffen Lyngbaek2020-03-101-1/+1
| | | | | | | | | Add setting to allow enabling either type inlay hints or parameter inlay hints or both. Group the the max inlay hint length option into the object. - Add a new type for the inlayHint options. - Add tests to ensure the inlays don't happen on the server side
* vscode: post refactor HintsUpdater (simplify create() -> constructor call)Veetaha2020-03-071-16/+10
|
* vscode: more privacy for HintsUpdaterVeetaha2020-03-071-1/+1
|
* vscode: remove logging from inlays, run fix lint issuesVeetaha2020-03-071-18/+7
|
* vscode: remove logic for caching editors as per @matkladVeetaha2020-03-071-222/+136
|
* vscode: refresh all editors on text changes, simplify inlays apiVeetaha2020-03-071-13/+11
|
* vscode: add dat semicolonVeetaha2020-03-071-1/+1
|
* vscode: simpifyVeetaha2020-03-071-5/+1
|
* vscode: redesign inlay hints to be capable of handling multiple editorsVeetaha2020-03-071-104/+271
|
* Centralize the check for languageId on documentJulien Roncaglia2020-03-021-19/+4
| | | | Also move visibleRustEditors to Ctx
* Remove inlay in diff viewsJulien Roncaglia2020-03-011-1/+10
| | | | | | | | If the left side of a diff view that contain the old version of the file apply inlays they are misplaced. The detection is done by blacklisting the url schemes used by git and subversion scm extensions.
* Reset fontStyle for inlay hintsAleksey Kladov2020-02-281-0/+2
| | | | Otherwise, we get bold hints on `true` and `false`
* vscode: migrate inlay_hints to rust-analyzer-api.tsVeetaha2020-02-241-23/+8
|
* vscode: gracefully handle cancellation errorsVeetaha2020-02-231-22/+18
|
* Extract client-side loggingAleksey Kladov2020-02-221-1/+2
|
* vscode: migrate to tripple equalsVeetaha2020-02-221-1/+1
|
* vscode: press ; to respect semicolonsVeetaha2020-02-171-4/+4
|
* remove debug printAleksey Kladov2020-02-171-2/+0
|
* Simplify startupAleksey Kladov2020-02-171-3/+3
|
* Simplify TS reload logicAleksey Kladov2020-02-171-2/+17
| | | | Fixes #3164
* vscode: minor refactoringsVeetaha2020-02-171-21/+24
|
* vscode: add comment on possible UnhandledPromise rejection errorVeetaha2020-02-161-1/+3
|
* vscode: fix stupid mistakeVeetaha2020-02-161-1/+1
|
* vscode: eliminate floating promises and insane amount of resource handle leaksVeetaha2020-02-051-13/+21
|
* vscode extension cleanup: migrate to prefer-const tslint ruleVeetaha2020-02-021-3/+3
|
* Use types from vscode-langaugeclientEmil Lauridsen2020-01-151-1/+1
|
* Add inlay parameter name hints for function callsimtsuki2020-01-141-10/+41
| | | | Signed-off-by: imtsuki <me@qjx.app>
* Allow disabling inlay hintsAleksey Kladov2020-01-011-1/+2
|
* Add semicolonsAleksey Kladov2019-12-311-2/+2
|
* Refactor server lifecycleAleksey Kladov2019-12-311-5/+6
|
* Fix color nameAleksey Kladov2019-12-311-1/+1
|
* Drop obsolete color configurationsAleksey Kladov2019-12-311-1/+1
|
* Privatize highlightingAleksey Kladov2019-12-301-2/+2
|
* Don't request inline hints repeatedlyAleksey Kladov2019-12-301-5/+18
|
* Retry inlay hints on content modified errorAleksey Kladov2019-12-301-6/+1
|
* Refactor inlay hintsAleksey Kladov2019-12-301-103/+67
|
* Add config to CtxAleksey Kladov2019-12-301-3/+1
|
* Encapsulate inlay hints activationAleksey Kladov2019-12-301-1/+37
|
* Hints are not commandsAleksey Kladov2019-12-301-0/+113