Open wcarmon opened 1 year ago
1, 3: the usual IDE "Insert paired brackets"/"Insert paired quotes" settings work for me. If they fail to work for you, I'd like to see a complete reproducing example. The one at the bottom of your post worked as expected for me.
2: Yeah, there doesn't seem to be a way to disable that one. I think we should have a separate Rust-specific option for that feature.
Environment
Problem description
Intellij, Goland and CLion all seem so have "checkboxes" to disable, but they only work for Java, Go and C++, not Rust
See https://www.jetbrains.com/help/idea/settings-smart-keys.html
Steps to reproduce
fn
, eg.let s = format!(r#")
fn
eg.write!(w, "aaa "" aaa") // yes this is broken
r#
before the string