Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong smart insertion pair ")" in Let expresssion #38

Open
joseferminj opened this issue Mar 27, 2011 · 2 comments
Open

Wrong smart insertion pair ")" in Let expresssion #38

joseferminj opened this issue Mar 27, 2011 · 2 comments

Comments

@joseferminj
Copy link

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 (|)])

@cmf
Copy link
Owner

cmf commented Mar 27, 2011

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
Copy link
Owner

cmf commented Mar 28, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants