R# 4.0.732: How to enable Code Cleanup in *.designer.cs files

Hello

Is there a way to enable Code Cleanup in *.designer.cs files? We are using
Windows Workflow Foundation and I wanted to clean up the code in the
.Designer.cs files of the activity but I get to see that the command
ReSharper_SilentCleanupCode is not available currently.

Regards

Gabriel Lozano-Moran


3 comments
Comment actions Permalink

The only way is to open them file-by-file, and invoke code cleanup from
editor.
Using batch cleanup, these files will always be skipped

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Gabriel Lozano-Moran" <gabriel.lozano-moran@hotmail.com> wrote in message
news:fpha04$m9u$1@is.intellij.net...

Hello

>

Is there a way to enable Code Cleanup in *.designer.cs files? We are using
Windows Workflow Foundation and I wanted to clean up the code in the
.Designer.cs files of the activity but I get to see that the command
ReSharper_SilentCleanupCode is not available currently.

>

Regards

>

Gabriel Lozano-Moran



0
Comment actions Permalink

I am not sure that I understand what you mean. I open the .designer.cs files
in the editor and have the shortcut Ctrl + E, F set to the command
ReSharper_SilentCleanupCode and then I get to see in the status bar of
Visual Studio that the command is currently unavailable. How exactly should
I invoke code cleanup?

Regards

Gabriel Lozano-Moran

"Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
message news:fphdeh$l1n$1@is.intellij.net...

The only way is to open them file-by-file, and invoke code cleanup from
editor.
Using batch cleanup, these files will always be skipped

>

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Gabriel Lozano-Moran" <gabriel.lozano-moran@hotmail.com> wrote in message
news:fpha04$m9u$1@is.intellij.net...

>> Hello
>>
>> Is there a way to enable Code Cleanup in *.designer.cs files? We are
>> using Windows Workflow Foundation and I wanted to clean up the code in
>> the .Designer.cs files of the activity but I get to see that the command
>> ReSharper_SilentCleanupCode is not available currently.
>>
>> Regards
>>
>> Gabriel Lozano-Moran
>


0
Comment actions Permalink

Hmmm... It doesn't handle .Designer file even when opened in editor. Do you
really need to clean-up it? Note that VS designer likely can't handle the
cleanup-ed file

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Gabriel Lozano-Moran" <gabriel@lozano-moran.name> wrote in message
news:fphtod$gkb$1@is.intellij.net...
>I am not sure that I understand what you mean. I open the .designer.cs
>files in the editor and have the shortcut Ctrl + E, F set to the command
>ReSharper_SilentCleanupCode and then I get to see in the status bar of
>Visual Studio that the command is currently unavailable. How exactly should
>I invoke code cleanup?
>

Regards

>

Gabriel Lozano-Moran

>

"Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
message news:fphdeh$l1n$1@is.intellij.net...

>> The only way is to open them file-by-file, and invoke code cleanup from
>> editor.
>> Using batch cleanup, these files will always be skipped
>>
>> --
>> Eugene Pasynkov
>> Developer
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>> "Gabriel Lozano-Moran" <gabriel.lozano-moran@hotmail.com> wrote in
>> message news:fpha04$m9u$1@is.intellij.net...
>>> Hello
>>>
>>> Is there a way to enable Code Cleanup in *.designer.cs files? We are
>>> using Windows Workflow Foundation and I wanted to clean up the code in
>>> the .Designer.cs files of the activity but I get to see that the command
>>> ReSharper_SilentCleanupCode is not available currently.
>>>
>>> Regards
>>>
>>> Gabriel Lozano-Moran
>>
>>



0

Please sign in to leave a comment.