schemely icon indicating copy to clipboard operation
schemely copied to clipboard

Wrong smart insertion pair ")" in Let expresssion

Open joseferminj opened this issue 14 years ago • 2 comments

Writing the following "let" expression (let* [get-record |])) after introducing a '(' in the editor, the closed parenthese is added in the wrong place. (let* [get-record (|])) It should be (let* [get-record (|)])

joseferminj avatar Mar 27 '11 15:03 joseferminj

I'm not sure it's deliberate, but your first example has one closing parenthesis too many - this is the one that looks like it appears in the incorrect place. However, there's still a bug, if I have this:

(let* [get-record |])

Then when I open a parethesis it doesn't add a closing one:

(let* [get-record (])

I'm not sure I can fix this, this is actually core IntelliJ code, I'll see what I can do.

cmf avatar Mar 27 '11 19:03 cmf

I've opened an issue for this: http://youtrack.jetbrains.net/issue/IDEA-67143

cmf avatar Mar 28 '11 08:03 cmf