Some of the formating style options code preview isn't working nor they are functional at all

Hello,

This is really frustrating most us relying on this feature to do its thing right to format the code but it's hard to do that without it having the code preview working correctly! and some of these options are not working at all.

Is it a known problem ?

6 comments
Comment actions Permalink

Hello Eyal,

Could you please clarify which options exactly are not working? Thank you!

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

Hello,

This is really frustrating most us relying on this feature to do its
thing right to format the code but it's hard to do that without it
having the code preview working correctly! and some of these options
are not working at all.

Is it a known problem ?

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



0
Comment actions Permalink

Yeah, I'll make a list tomorrow.

0
Comment actions Permalink

Here is the list.

Line Breaks and Wrapping

  • Prefer wrap before "(" in declaration
  • Prefer wrap after "(" in declaration
  • Prefer wrap before "(" in invocation
  • Prefer wrap after "(" in invocation
  • Prefer wrap before ":"
  • Prefer wrap before operator in binary expression
  • Prefer wrap before first constraint
  • Prefer wrap before type parameters opening angle


Other

  • List of base classes and interfaces
  • Type parameters constraints
  • LINQ query
0
Comment actions Permalink

Hello Eyal,

I've checked this behavior and the preview for these options (as well as
the options themselves) work fine for me in ReSharper 6.0. Which version
of ReSharper are you using? Do I understand correctly that you're working
with those options when a solution is opened in Visual Studio? Thank you!

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

Here is the list.

Line Breaks and Wrapping

  • Prefer wrap before "(" in declaration

  • Prefer wrap after "(" in declaration

  • Prefer wrap before "(" in invocation

  • Prefer wrap after "(" in invocation

  • Prefer wrap before ":"

  • Prefer wrap before operator in binary expression

  • Prefer wrap before first constraint

  • Prefer wrap before type parameters opening angle

Other

  • List of base classes and interfaces

  • Type parameters constraints

  • LINQ query

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



0
Comment actions Permalink

I'm using R#6.0, these options work but their code preview doesn't.

0
Comment actions Permalink

Hello Eyal,

Could you please attach a screenshot demonstrating this behavior? Also, do
you open the options dialog through ReSharper | Options? Thank you!

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

I'm using R#6.0, these options work but their code preview doesn't.

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



0

Please sign in to leave a comment.