Reporter | James Manning (James.Manning) |
---|---|
Created | Nov 30, 2011 1:55:12 AM |
Updated | Dec 14, 2011 10:10:59 PM |
Priority | Normal |
Type | Bug |
Fix versions | Mirabile Futurum |
State | Open |
Assignee | Sergey Shkredov (serjic.shkredov) |
Subsystem | Refactoring |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
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.