bug in R# 5.0 ? 'put into using construct' ignores brace preference

  • VS 2010 Premium
  • Windows 7 Ultimate x64

from help -> about:
  • JetBrains ReSharper 5 Full Edition
  • Build 5.0.1659.36 on 2010-04-13T02:19:06
  • Plugins: none.
  • Visual Studio 10.0.30319.1.


I've been cleaning up a bunch of pre-existing code lately and have been happily invoking the 'put into using construct' feature, except that it uses K&R style braces even though my preference is BSD.

Is this a known bug in 5.0?  Is there a setting I'm missing?  Is there an ETA on a fix (if it's a bug, of course)?

screen shots to help explain the issue in a blog post: http://blog.sublogic.com/2010/07/06/resharper-5-0-bug-put-into-using-construct-ignores-user-brace-setting/

Thanks!

4 comments
Comment actions Permalink

Hello James,

Could you please export your code style settings to an xml file (through
ReSharper | Options | Languages | Common | Code Style Sharing) and attach
the file here? Thank you!

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

  • VS 2010 Premium

  • Windows 7 Ultimate x64

from help -> about:

  • JetBrains ReSharper 5 Full Edition

  • . Build 5.0.1659.36 on 2010-04-13T02:19:06

Plugins: none.
Visual Studio 10.0.30319.1.
I've been cleaning up a bunch of pre-existing code lately and have
been happily invoking the 'put into using construct' feature, except
that it uses K&R style braces even though my preference is BSD.

Is this a known bug in 5.0?  Is there a setting I'm missing?  Is there
an ETA on a fix (if it's a bug, of course)?

screen shots to help explain the issue in a blog post:
http://blog.sublogic.com/2010/07/06/resharper-5-0-bug-put-into-using-c
onstruct-ignores-user-brace-setting/

Thanks!

---
Original message URL:
http://devnet.jetbrains.net/message/5267110#5267110



0
Comment actions Permalink

here ya go - thanks!



Attachment(s):
james-resharper-20100707.xml
0
Comment actions Permalink

This is still present in 5.1

JetBrains ReSharper 5.1 Full Edition
Build 5.1.1727.12 on 2010-07-07T20:40:20
Visual Studio 10.0.30319.1.

0

Please sign in to leave a comment.