Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

rust-analyzer: Add better support for TypeHints and ParameterHints #14

@PatOConnor43

Description

@PatOConnor43

The current rust inlay-hints implementation puts everything at the end of the line when the intended behavior of Type and Parameter hints is to be interspersed in the line. We should be able to draw these hints more closely to this.
image
Where TypeHints go after variable declarations and ParameterHints are paired with their variables.

Related PRs:
#13
#9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions