We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rust-analyzer version: rust-analyzer version: 0.0.0 (75b2232 2022-07-03) rustc version: rustc 1.64.0-nightly (1517f5de0 2022-07-07)
relevant settings: rust-analyzer.hover.actions.references.enable
You can see there is a triple underscore ___ between references and ▶︎. This is caused by the .join() here: https://github.com/rust-lang/rust-analyzer/blame/995a17fbd9f7cdedfdafec946b1d9e44eff448b4/editors/code/src/client.ts#L61 Is the ___ there for a particular reason, @vsrs ?
___
▶︎
The text was updated successfully, but these errors were encountered:
I don't have write access but I would propose the following change to that function:
function renderHoverActions(actions: ra.CommandLinkGroup[]): vscode.MarkdownString { const text = actions .map( (group) => (group.title ? group.title + " " : "") + group.commands.map(renderCommand).join(" | ") ) .join(" / "); const result = new vscode.MarkdownString(text); result.isTrusted = true; return result; }
Sorry, something went wrong.
We might want to make the hover popup have the same format as the CodeLens: Run | Debug | N references
Run | Debug | N references
Requires
"rust-analyzer.lens.references.method.enable": true, "rust-analyzer.hover.actions.references.enable": true,
to be able to see this behavior.
5f3de78
Successfully merging a pull request may close this issue.
rust-analyzer version: rust-analyzer version: 0.0.0 (75b2232 2022-07-03)
rustc version: rustc 1.64.0-nightly (1517f5de0 2022-07-07)
relevant settings: rust-analyzer.hover.actions.references.enable
You can see there is a triple underscore
___
between references and▶︎
. This is caused by the .join() here:https://github.com/rust-lang/rust-analyzer/blame/995a17fbd9f7cdedfdafec946b1d9e44eff448b4/editors/code/src/client.ts#L61
Is the
___
there for a particular reason, @vsrs ?The text was updated successfully, but these errors were encountered: