google / google/googletest-rust

rust-analyzer does not suggest macro matchers for autocomplete.

Open
#701 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
432
Forks
36
Avg merge
7d 17h
Merged PRs (30d)
2

Description

In VSCode with rust-analyzer, when trying to autocomplete the name of a macro matcher like `matches_pattern!`, rust-analyzer does not suggest it.

I believe this is because the macros are all annotated with `#[doc(hidden)]` which rust-analyzer hides from recommendations.

One possible solution is for https://github.com/rust-lang/rust/issues/39412 to be stabilized (may be a long wait though).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.