-
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
fix: Fix a case where completion was unable to expand a macro #18723
Conversation
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.
I sure can't wait for salsa 3 and its promised database forking so that we can get rid of the speculative stuff
13d4fed
to
585ecfc
Compare
Does salsa 3 already have db forking or it's only planned? |
I think some very rudimentary forking is implemented, but the stuff that we need specifically (the fork having copy on write semantics aka speculative execution) is still missing |
Which caused the macros of the popular `tracing` crate to not offer completions. The reason is rather complicated: it boils down to macro ignoring their input and completion always choosing the first expansion.
585ecfc
to
02d47f3
Compare
Needed to rebase and bless - @Veykril can you re-approve? Thanks. |
Which caused the macros of the popular
tracing
crate to not offer completions.The reason is rather complicated: it boils down to macro ignoring their input and completion always choosing the first expansion.
What started as a fairly simple feature request turned out to be a nightmary-ish group of changes on top of something that resembles a pile of hacks more than anything else (completions in IDEs). It turns out, well, this is not so simple. But at least it is fixed now, and tracing finally offers delicious completions!
Recording.2024-12-20.023324.mp4
Fixes #18719.