Reformat code without the popup

Hi,

I've just started using Resharper after long experience with Eclipse in
Java (and about 20 painful minutes of trying to use visual studio
as-is!). So far it seems like a great tool.

I was wondering if it was possible to use the Format Code feature
without having to hit Enter on the dialog each time, since I like to use
it so frequently (being used to Eclipse).

Thanks!
Scott Hunter
Ternary Software

4 comments
Comment actions Permalink

Thank you for the report.

No, it isn't possible to re-format the source code without extra dialog.
This is because of the few important check-boxes, which otherwise would be
very hard to search where one could alter them.

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Scott Hunter" <shunter@ternarysoftware.com> wrote in message
news:daeuqo$eup$1@is.intellij.net...

Hi,

>

I've just started using Resharper after long experience with Eclipse in
Java (and about 20 painful minutes of trying to use visual studio as-is!).
So far it seems like a great tool.

>

I was wondering if it was possible to use the Format Code feature without
having to hit Enter on the dialog each time, since I like to use it so
frequently (being used to Eclipse).

>

Thanks!
Scott Hunter
Ternary Software



0
Comment actions Permalink

Eugene Pasynkov (JetBrains) wrote:

Thank you for the report.

No, it isn't possible to re-format the source code without extra dialog.
This is because of the few important check-boxes, which otherwise would be
very hard to search where one could alter them.


I understand that people need to change the options sometimes. Perhaps
there could be a section of the main program options that listed those 3
checkboxes, with another checkbox (off by default, I suppose) that would
say "use these settings by default for every format". Then you could
use whichever mode you prefer.

Personally, I currently have all three boxes checked, and I doubt that I
will ever need to change them.

Scott Hunter
Ternary Software

0
Comment actions Permalink

Hello Scott & Eugene,

SH> I understand that people need to change the options sometimes.
SH> Perhaps there could be a section of the main program options that
SH> listed those 3 checkboxes, with another checkbox (off by default, I
SH> suppose) that would say "use these settings by default for every
SH> format". Then you could use whichever mode you prefer.

Or perhaps, two different keyboard short-cuts could be defined.

The standard one with pop-up options, and an "advanced" shortcut without
pop-up using the defaults.

Jeff


0
Comment actions Permalink

Hello Jeff,

Hello Scott & Eugene,

SH>> I understand that people need to change the options sometimes.
SH>> Perhaps there could be a section of the main program options that
SH>> listed those 3 checkboxes, with another checkbox (off by default, I
SH>> suppose) that would say "use these settings by default for every
SH>> format". Then you could use whichever mode you prefer.
SH>>

Or perhaps, two different keyboard short-cuts could be defined.

The standard one with pop-up options, and an "advanced" shortcut
without pop-up using the defaults.

+1.
It can be done as Find Usages and Advanced Find Usages.


Jeff

Thanks,
Andrey Simanovsky


0

Please sign in to leave a comment.