Skip to content

Keyboard shortcut for toggleInlayHints is creating a .vscode folder #10318

@rodrigocfd

Description

@rodrigocfd

I assigned a keyboard shortcut to rust-analyzer.toggleInlayHints command, so I can quickly toggle the inlay hints. I'm using latest VSCode (v1.60.2).

However, for some reason, now every time I hit the shortcut key, a new .vscode folder is created at the root of my project, with a settings.json file contaning this:

{
    "rust-analyzer.inlayHints.enable": false
}

I guess this started happening a few versions ago.

This behavior doesn't happen with the Error Lens extension, for example, to which I also have a keyboard shortcut to errorLens.toggle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-vscodevscode plugin issuesS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions