Skip to content

A config to allow a custom file name #189

Open
@mister-teddy

Description

@mister-teddy

When I type leetcode edit --daily, it saves the code into a file named 2845.count-of-interesting-subarrays.rs.

However, it seems like rust-analyzer refuses to provide in-depth IDE features such as type and ownership checking with files having 2 dots or more in their name. Only autocomplete works.

My current workaround is to symlink the file to 2845.rs to have complete IDE features, while being able to test and submit the edited code. It would be nice to have a config to allow a custom file name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions