Skip to content

Quick fix erroneously escapes curly bracesΒ #16626

Closed
@acycliczebra

Description

When I use the quick fix feature, the autocomplete inserts an escape backslash to every curly brace character.

Recording.2024-02-21.011843.mp4

rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)

rust-analyzer version: 0.3.1850-standalone (68c506f 2024-02-19)

(It works when I rolled back to an older version, so it is likely a regression)

rustc version: (eg. output of rustc -V)

rustc 1.76.0 (07dca489a 2024-02-04)

relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)

None

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-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions