Unable to Reformat Code of files grouped by <DependentUpon> tag of project file

Hi there,

If you group partial classes or any files for that matter with the ]]>
tag you're unable to use Reformat Code and other functions on that file(s).

Regards,


5 comments
Comment actions Permalink

Chad Black wrote:

If you group partial classes or any files for that matter with the
<dependentupon> tag you're unable to use Reformat Code and other
functions on that file(s).


Hi Chad,

I already reported this issue a while ago:
http://www.jetbrains.net/jira/browse/RSRP-25729

Unfortunately the issue is closed and unresolved... :(

Ciao,
Jens

0
Comment actions Permalink

Hello Jens,

the problem is that ReSharper considers these file as auto-generated, so
it doesn't want to touch them. I think we should revise
how do we detect if a file is auto-generated, so I've reopened this issue.


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


Chad Black wrote:

>> If you group partial classes or any files for that matter with the
>> tag you're unable to use Reformat Code and other >> functions on that file(s). >>]]>

Hi Chad,

I already reported this issue a while ago:
http://www.jetbrains.net/jira/browse/RSRP-25729
Unfortunately the issue is closed and unresolved... :(

Ciao,
Jens



0
Comment actions Permalink

Hello Dmitry,

Also keep in mind that even if a file was auto-generated we might still want
to reformat the code. Just disabling features usually ends up costing someone.
Maybe adding a warning when certain functions are invoked on "auto-generated"
files that can be disabled will solve this problem. That way you guys wouldn't
even have to worry about changing the detection method.

Regards,

Hello Jens,

the problem is that ReSharper considers these file as auto-generated,
so
it doesn't want to touch them. I think we should revise
how do we detect if a file is auto-generated, so I've reopened this
issue.
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Chad Black wrote:
>>
>>> If you group partial classes or any files for that matter with the
>>> tag you're unable to use Reformat Code and other >>> functions on that file(s). >>> >> Hi Chad, >> >> I already reported this issue a while ago: >> http://www.jetbrains.net/jira/browse/RSRP-25729 >>]]> Unfortunately the issue is closed and unresolved... :(
>> Ciao,
>> Jens


0
Comment actions Permalink

Hello Chad,

thanks for your suggestion, it seems reasonable for me. I've added a comment
to the request
http://www.jetbrains.net/jira/browse/RSRP-25729


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


Hello Dmitry,

Also keep in mind that even if a file was auto-generated we might
still want to reformat the code. Just disabling features usually ends
up costing someone. Maybe adding a warning when certain functions are
invoked on "auto-generated" files that can be disabled will solve this
problem. That way you guys wouldn't even have to worry about changing
the detection method.

Regards,

>> Hello Jens,
>>
>> the problem is that ReSharper considers these file as auto-generated,
>> so
>> it doesn't want to touch them. I think we should revise
>> how do we detect if a file is auto-generated, so I've reopened this
>> issue.
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Chad Black wrote:
>>>
>>>> If you group partial classes or any files for that matter with the
>>>> tag you're unable to use Reformat Code and other >>>> functions on that file(s). >>>> >>> Hi Chad, >>> >>> I already reported this issue a while ago: >>> http://www.jetbrains.net/jira/browse/RSRP-25729 >>>]]> Unfortunately the issue is closed and unresolved... :(
>>> Ciao,
>>> Jens


0
Comment actions Permalink

Just to say this is stinging me too!

0

Please sign in to leave a comment.