R# 4.0.731: Question about profiles for Code Cleanup

Hello

I am not exactly sure to what happened but when I open solutions and perform
a silent cleanup of the code with Ctrl + E, F the unused directives are no
longer removed and when I run ReSharper_CleanUpCode with Ctrl E, C the
profile for silent cleanup is set to Reformat Code.

I have changed the profile for silent cleanup to Full Cleanup but I need to
change this for every solution I open. I could swear that this setting was
persisted across solutions in the previous EAP build. Has this changed
between build 731 and 730?

Also, where can I change the Full Cleanup and Reformat Code profiles?

Cheers

Gabriel Lozano-Moran

2 comments
Comment actions Permalink

Hello Gabriel Lozano-Moran,

These profiles are preconfigured and hardcoded. You cannot edit them at the
moment, but you can create your own in the Options / Tools / Code Cleanup.
Concerning 3.x configuration, it should have been imported into "Default"
profile during first load of solution with ReSharper 4, which should then
be set as default for silent reformat. If this didn't happen, it's a bug.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


G> Hello
G>
G> I am not exactly sure to what happened but when I open solutions and
G> perform a silent cleanup of the code with Ctrl + E, F the unused
G> directives are no longer removed and when I run ReSharper_CleanUpCode
G> with Ctrl E, C the profile for silent cleanup is set to Reformat
G> Code.
G>
G> I have changed the profile for silent cleanup to Full Cleanup but I
G> need to change this for every solution I open. I could swear that
G> this setting was persisted across solutions in the previous EAP
G> build. Has this changed between build 731 and 730?
G>
G> Also, where can I change the Full Cleanup and Reformat Code profiles?
G>
G> Cheers
G>
G> Gabriel Lozano-Moran
G>


0
Comment actions Permalink

Hello,

I have changed the profile for silent cleanup to Full Cleanup but I
need to change this for every solution I open. I could swear that this
setting was persisted across solutions in the previous EAP build. Has
this changed between build 731 and 730?


Well … the setting used to be per-solution (stored in the .resharper file
by default), but the “Silent…” command would show up the configuration dialog
when first run on each solution. This small piece of functionality (ie config
dialog on first run of the silent action on each new solution) is currently
broken.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0

Please sign in to leave a comment.