-
Notifications
You must be signed in to change notification settings - Fork 1.7k
attribute-style doc comments (#[doc]
) are not shown in lsp-ui-sideline
#3180
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
Labels
Comments
Should be fixed by #3182 "refactoring", but this would constitute a good test case! |
bors bot
added a commit
that referenced
this issue
Jun 3, 2020
4660: Enable hover and autocomplete docs on macro generated items r=matklad a=aloucks Enable hover and autocomplete docs on macro generated items. This de-sugars doc comments into `doc` attributes in some cases, but not all. Comments and `doc` attributes are then merged together. This PR is essentially a partial implementation of what's being suggested #3182, but it's not all the way there yet. ~I still need to add unit tests~, but I wanted to first get feedback on whether or not this was an acceptable path forward. Fixes #4564 Fixes #3984 Fixes #3180 Related #3182  Co-authored-by: Aaron Loucks <[email protected]>
lnicola
pushed a commit
to lnicola/rust-analyzer
that referenced
this issue
Apr 7, 2024
…ure, r=RalfJung Check that target features required by LLVM intrinsics are enabled Fixes rust-lang/miri#3178
RalfJung
pushed a commit
to RalfJung/rust-analyzer
that referenced
this issue
Apr 27, 2024
…ure, r=RalfJung Check that target features required by LLVM intrinsics are enabled Fixes rust-lang/miri#3178
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Start with
cargo new --bin hello
then modifysrc/main.rs
to look like this:Opening the file in emacs-nox and placing the cursor on
Foo
(line 8) shows:on the sideline.
Placing the cursor on
Bar
(line 9) only shows:Pictures:
Meta
I have a crate that I machine generated using
quote!
and all generated doc comments use#[doc]
attributes. The multi-line ones look like this:None of them show up in
lsp-ui-sideline
The text was updated successfully, but these errors were encountered: