ReSharper 6 javascript brace completion
Today I wanted to add braces around an if block so I could add more
statements to it, but ReSharper didn't do it correctly. The original code
is:
if (jobj("somectrl").value == "foo")
doSomething();
I put the cursor in front of doSomething and typed {, but this is what I
get:
if (jobj("somectrl").value == "foo")
{}doSomething();
Please sign in to leave a comment.
Hello Greg,
This behavior has not been implemented yet. I've logged a feature request:
http://youtrack.jetbrains.net/issue/RSRP-274478 and you're welcome to vote
for it. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"