Skip to content
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

Way to toggle inlay hints without reload #3751

Closed
dbr opened this issue Mar 28, 2020 · 2 comments · Fixed by #3666
Closed

Way to toggle inlay hints without reload #3751

dbr opened this issue Mar 28, 2020 · 2 comments · Fixed by #3666

Comments

@dbr
Copy link

dbr commented Mar 28, 2020

I was looking for a way to toggle the the inlay type hints dynamically, as they are often useful, but I find can make code more "dense" and hard to read at times:

Screen Shot 2020-03-28 at 12 26 41 pm

Currently if I alter any of the settings like rust-analyzer.inlayHints.typeHints it will only apply after clicking Reload, which is quite disruptive (takes several seconds while the window closes/reopens and reanalyzes the project etc)

Judging from #1977 this setting would apply without reload; is this behaviour possible to restore?

@SomeoneToIgnore
Copy link
Contributor

This will be done eventually here: #3666

I'm working on it, but need more time to finish things.

@dbr
Copy link
Author

dbr commented Mar 30, 2020

Ah that's great. No rush from me, but will be nice to have when it's done. Thanks!

@bors bors bot closed this as completed in 671926a Mar 30, 2020
lnicola pushed a commit to lnicola/rust-analyzer that referenced this issue Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants