Reporter | Anton Lobov (Anton.Lobov) |
---|---|
Created | Aug 28, 2012 5:34:41 PM |
Updated | Apr 17, 2018 7:14:59 PM |
Subsystem | Matching Elements |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.1, 7.0.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Case No. 1.
case1.png for original code.
I moved caret after "(", typed "() => {", and R# automatically inserted bracket just before comma, wrapping the second argument into braces (surprise) - see case1_br.png.
I'm not sure if it is wrong, but it seems to be counter-intuitive.
Case No. 2.
case2.png for original code
Bracket was inserted not inside brace, but after it - case2_br.png.
case1.png for original code.
I moved caret after "(", typed "() => {", and R# automatically inserted bracket just before comma, wrapping the second argument into braces (surprise) - see case1_br.png.
I'm not sure if it is wrong, but it seems to be counter-intuitive.
Case No. 2.
case2.png for original code
Bracket was inserted not inside brace, but after it - case2_br.png.