-
Notifications
You must be signed in to change notification settings - Fork 164
Conversation
Hi there, Indeed, I had noticed some of these:
The greedy simplifier could use some cleverer code though, as the regex to shorten long composite types will also fail with things like |
@jonasbb This commit fixes your issues 1 and 3. I also took the opportunity to avoid adding virtual type hints where actual type hints actually existed, at least for closure parameters and simple let declarations. Like I said, issue 2 is API imposed, although some trickery might (but it's not garanteed) let us get the cursor on the left side of the virtual type hint. Have a nice day. |
Issue 4 fixed :) |
why is there no movement on this?, this seems very awesome :) |
@Xanewok It would be great if this PR could get some attention. |
@danilaml try rust-analyzer instead |
Hello again,
So after finding out that CodeLenses weren't going to cut it on the Language Server side (See RLS PR#1442) I've tried using Decorations on the client side. And guess what? They're awesome!

That also solved the synchronisation issues I had on the RLS version, and now they're properly inlined like I wanted them too originally.
Hope you guys like it :D