8000 Support `.rust-project.json` (i.e. hidden) · Issue #17816 · rust-lang/rust-analyzer · GitHub
[go: up one dir, main page]

Skip to content
Support .rust-project.json (i.e. hidden) #17816
@ojeda

Description

@ojeda

In the Linux kernel, we use rust-analyzer with a rust-project.json file.

However, it appears that there is no support for a hidden version of that configuration file, i.e. .rust-project.json, which means it is very visible when listing the root directory of the kernel sources (though only when generated, since the file is not committed into the repository and thus only visible when using rust-analyzer).

While this is only an issue for kernel developers that use Rust (i.e. so far a very small number compared to the total), since the file is normally not there, the file is not really something most kernel developers need to see, care or modify while working, so it is not really needed to show it in listings, and so a hidden .rust-project.json file would be better. I guess for other projects that may be the case as well.

This would follow other files like .clang-format, .gitignore, .gitattributes, .mailmap, .rustfmt.toml, etc. where configuration is not directly related to the project (say, a Kconfig file) but to tooling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0