Skip to content

Show rustdoc of proc macros #14772

Open
Open
@peter-lyons-kehl

Description

@peter-lyons-kehl

Thank you for rust-analyzer.

  • Please, consider showing rustdoc of attribute macros (on mouse over in VS Code...).
  • And, if you do choose to implement it, please also carry rustdoc if a macro is imported through use ... as ...; under an alias.

Example: Attribute macros aliased on purpose from https://docs.rs/allow_prefixed/latest/allow_prefixed (or from https://docs.rs/allow_prefixed/latest/allow):

Crrent rust-analyzer version v0.3.1506 in current VS Code:

Version: 1.78.1
Commit: 6a995c4f4cc2ced6e3237749973982e751cb0bf9
Date: 2023-05-04T09:46:23.602Z
Electron: 22.5.1
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.3.0-1-MANJARO
Sandboxed: No

Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-idegeneral IDE featuresC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions