Open
Description
Features that we would like to see
Required (we almost certainly want them)
-
discoverConfig
.- Details/discussion: Support
.rust-project.json
(i.e. hidden) rust-lang/rust-analyzer#17816 (comment). - PR: feature: teach rust-analyzer to discover
linked_projects
rust-lang/rust-analyzer#17246. - Issue: Lazy Workspace/Project Discovery rust-lang/rust-analyzer#17537.
- Issue: Announcements: Client Changes rust-lang/rust-analyzer#4604.
- Details/discussion: Support
-
Edition 2024 support.
- Our plan is to migrate to Edition 2024 as soon as possible (unless a blocker is found, of course).
- Issue: 2024 Edition rust-lang/rust-analyzer#16146.
Nice to have (not critical, we could workaround if needed, etc.)
Low priority (we will likely not use them in the end)
Done (stabilized, fixed, not needed anymore, etc.)
-
A way to avoid exploding the size of
rust-project.json
with thousands ofcfg
s defined repeatedly per crate.- Issue: Specifying a set of
cfg
s for given crates (cfg
groups) rust-lang/rust-analyzer#17815. - If we end up using the
discoverConfig
support (and we replace completelyrust-project.json
-- see also a few notes at Support.rust-project.json
(i.e. hidden) rust-lang/rust-analyzer#17816 (comment)), then we would not need this anymore, and rust-analyzer will likely remove it: feat: Allow declaring cfg groups in rust-project.json, to help sharing common cfgs rust-lang/rust-analyzer#17857 (comment). - PR: feat: Allow declaring cfg groups in rust-project.json, to help sharing common cfgs rust-lang/rust-analyzer#17857.
- Issue: Specifying a set of
-
Support
.rust-project.json
(i.e. hidden).
Bugs that we would like to see fixed
Required (we almost certainly want them)
- Support goto-definition for
include!(concat!(env!("OBJTREE"), "/..._generated.rs"));
Nice to have (probably not critical, we could workaround if needed, etc.)
- Limitations around
#[path = "..."]
.- A possible workaround is to use a symlink.
- Issue:
unresolved import
for some `#[path = ".."] rust-lang/rust-analyzer#3898. - Lore: https://lore.kernel.org/rust-for-linux/[email protected]/.