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

rust-analyzer: Disable drawing hints for ParameterHint and TypeHint #13

Closed

Conversation

PatOConnor43
Copy link
Contributor

ChainingHint is the only type that makes sense to draw at the end of the line. This image demonstrates how each type should probably be represented.
image

TypeHints after variable declarations, ParameterHints paired with variables passed into functions, and ChainingHints at the end on lines. We'll need to slightly tweak the existing implementation to put these types in their correct place so for now I'm suggesting we only draw ChainingHints to reduce confusion.

line. We should only being drawing ChainingHint to avoid confusion until
we have a proper solution for the other two.
@rockerBOO
Copy link
Collaborator

does #19 work for you?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants