rust-lang / rust-lang/rust-analyzer

Extract into variable/function assists should partially work in macro inputs

Open
#12,511 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-assists C-support S-unactionable
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

Once https://github.com/rust-lang/rust-analyzer/issues/11183 is figured out and implemented, these assist as well as some other ones probably should be able to somewhat work with macros depending on how they were captured.

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

Start by reading rust-analyzer issue 11183, which this work depends on. Determine how that issue's implementation affects extract-into-variable/function assists and which other assists are covered for macro inputs; completion should be defined by those assists working partially where macro capture permits.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
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.