-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add back colons around inlay hints #11658
Conversation
CC @rami3l |
I'm not sure whether it's fine to have this padding / formatting logic here. It feels wrong, but on the other hand it's nice to be easily able to check how these are set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors r=Veykril |
I wonder if we can discuss this matter with vscode proper. The new inlay hints are functionally better, but look pretty awful. If they removed this padding it would make both rust analyzer and TS language server look and feel much better. |
@jhgg which padding? Some of it is actually controllable by the extension. |
oh no, I preferred the inlay hints without the colons :( |
See the awkward padding between the So this is really only visible this way because I tried to make them look more faded compared to stock inlay hints: I think it would be a good editor feature to simply hide the outer padding, basically, chop off: It even overlaps the highlight >_> |
BTW, opened a vscode issue regarding the padding here: microsoft/vscode#145191 |
Fixes #2797 (comment).
I originally thought that other extensions don't include the colons, but the TypeScript one seems to do.