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

Intradoc links whose addresses are specified at the end as [name]: address doesn't display correctly in VS Code's mouse hover #19424

Open
KSXGitHub opened this issue Mar 23, 2025 · 0 comments
Labels
A-hover hover feature C-bug Category: bug

Comments

@KSXGitHub
Copy link

KSXGitHub commented Mar 23, 2025

rust-analyzer version: 0.3.2345-standalone

rustc version: 1.81.0

editor or extension: VSCode

relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)

repository link (if public, optional):

code snippet to reproduce:

/// Link to a [type].
///
/// [type]: core::option::Option
pub fn add(left: u64, right: u64) -> u64 {
    left + right
}

cargo doc would create the link correctly as expected:

cargo doc screenshot

but mouse hovering on the item does not show the link:

VS Code screenshot

@KSXGitHub KSXGitHub added the C-bug Category: bug label Mar 23, 2025
@KSXGitHub KSXGitHub changed the title Intradoc links whose addresses are specified at the end as [name]: address doesn't display correct in VS Code's mouse hover Intradoc links whose addresses are specified at the end as [name]: address doesn't display correctly in VS Code's mouse hover Mar 23, 2025
@ShoyuVanilla ShoyuVanilla added the A-hover hover feature label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-hover hover feature C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants