rust-lang / rust-lang/rust-analyzer

`#[rust_analyzer::*]` tool and lint attributes

Open
#11,556 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-ide C-feature E-unknown fun
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

NOTE: Implementation of some of these has started but we do not make any stability guarantees about these attributes for now, so they may change over time.

This serves as a general bag of ideas around possible future r-a/ide tool attributes (we have this attribute now https://github.com/rust-lang/rust/pull/125241)

Note: names are of course bikesheddable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reviewing the existing attribute from rust-lang/rust#125241 and the linked rust-analyzer issues, then inspect crates/ide-db/src/ty_filter.rs for the enum-variant assist behavior. This issue is a broad list of proposals, so completion would require selecting one attribute, defining its scope and behavior, and adding the relevant implementation and tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.