Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A config to allow a custom file name #189

Open
@mister-teddy

Description

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

        AltStyle によって変換されたページ (->オリジナル) /