Skip to content

Allow opening rust-analyzer on a single file #6388

Closed

Description

Currently, code x.rs (where x.rs is any self-contained source file) gives the error Cannot activate rust-analyzer: no folder is opened. It would be nice to have this work if x.rs doesn't require any external dependencies. That would allow running rust-analyzer even on projects not using cargo.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-ArchitectureBig architectural things which we need to figure up-front (or suggestions for rewrites :0) )E-hardS-unactionableIssue requires feedback, design decisions or is blocked on other work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions