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

Do not resolve inlayHint.textEdit for VSCode client #15635

Merged
merged 2 commits into from Sep 19, 2023

Conversation

SomeoneToIgnore
Copy link
Contributor

Closes #15604

VSCode behaves strangely, allowing to navigate into label location, but not allowing to apply hint's text edit, after hint is resolved. See microsoft/vscode#193124 for details.

For now, stub hint resolution for VSCode specifically.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 19, 2023
VSCode behaves strangely, allowing to navigate into label location, but
not allowing to apply hint's text edit, after hint is resolved.
See microsoft/vscode#193124 for details.

For now, stub hint resolution for VSCode specifically.
crates/rust-analyzer/src/config.rs Outdated Show resolved Hide resolved
@Veykril
Copy link
Member

Veykril commented Sep 19, 2023

@bors delegate+

@bors
Copy link
Collaborator

bors commented Sep 19, 2023

✌️ @SomeoneToIgnore, you can now approve this pull request!

If @Veykril told you to "r=me" after making some further change, please make that change, then do @bors r=@Veykril

@SomeoneToIgnore
Copy link
Contributor Author

@bors r=@Veykril

@bors
Copy link
Collaborator

bors commented Sep 19, 2023

📌 Commit f9fac02 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Sep 19, 2023

⌛ Testing commit f9fac02 with merge 0427a23...

@bors
Copy link
Collaborator

bors commented Sep 19, 2023

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 0427a23 to master...

@bors bors merged commit 0427a23 into rust-lang:master Sep 19, 2023
10 checks passed
@SomeoneToIgnore SomeoneToIgnore deleted the fix-vscode-edits branch September 19, 2023 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No longer possible to insert inlay hints
4 participants