Reporter |
|
---|---|
Created | Nov 30, 2011 1:55:12 AM |
Updated | Apr 16, 2018 11:00:30 AM |
Resolved | Apr 16, 2018 11:00:30 AM |
Subsystem | Refactorings |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Can't Reproduce |
Type | Bug |
Fix version | Backlog |
Affected versions | 6.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
JetBrains ReSharper 6.1 EAP C# Edition Pre-Release
Build 6.1.8.21 on 2011-11-20T06:34:02
Plugins: none
Visual Studio 10.0.40219.1.
when i let R# create new code (extract interface is one example, but it happens for other cases as well), it uses the K&R bracing style (IIRC, that's the R# default) instead of my own bracing choice set in the R# options (BSD). This means that I then have to reformat the generated file in order to fix the bracing style.
Generated code like 'extract interface' should use the user's choices for formatting. Worst-case, this seems simple to fix by adding a 'format code' call afterwards for the newly generated code, but that's probably not viable in all code generation cases.
Build 6.1.8.21 on 2011-11-20T06:34:02
Plugins: none
Visual Studio 10.0.40219.1.
when i let R# create new code (extract interface is one example, but it happens for other cases as well), it uses the K&R bracing style (IIRC, that's the R# default) instead of my own bracing choice set in the R# options (BSD). This means that I then have to reformat the generated file in order to fix the bracing style.
Generated code like 'extract interface' should use the user's choices for formatting. Worst-case, this seems simple to fix by adding a 'format code' call afterwards for the newly generated code, but that's probably not viable in all code generation cases.