Skip to content

Display type hint inlay hints at the end of the line #4318

@Alexendoo

Description

@Alexendoo

The addition of type hints for chained method calls is a fantastic feature, and it got me thinking that it would be nice to have the option of displaying regular hints like that, e.g.

let x = something; /* type hint */

rather than

let x/*: type hint */ = something;

A nice benefit of this would be your code would never be moved around by the type hints, either during edits or when RA has finished loading

It would also help with long type names and/or narrow windows, as types wouldn't push code off screen

Metadata

Metadata

Labels

A-configconfigurationA-inlay-hintsinlay/inline hintsC-featureCategory: feature requestE-hardS-actionableSomeone could pick this issue up and work on it right now

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions