This is by design. The key idea that reformatting also involves shortening references and optimizing using directives, which can't be done without project context
This is by design. The key idea that reformatting also involves shortening references and optimizing using directives, which can't be done without project context
Ok, but what about files like .asmx files? The Reformat menu item doesn't show up in the context menu on a .asmx file, nor a .asmx.cs file.
John Saunders wrote: >> This is by design. >> The key idea that reformatting also involves shortening references and >> optimizing using directives, which can't be done without project context
Ok, but what about files like .asmx files? The Reformat menu item doesn't show up in the context menu on a .asmx file, nor a .asmx.cs file.
I think there can indeed be a problem with placing the reformat command into the context menu for .asmx files, we'll check that. But you can use a shortcut assigned to the ReSharperAddInXXXX.ReformatCode command or alternatively use the ReSharper|Code|Reformat path from the VS main menu.
>>> This is by design. >>> The key idea that reformatting also involves shortening references >>> and >>> optimizing using directives, which can't be done without project >>> context >> Ok, but what about files like .asmx files? The Reformat menu item >> doesn't show up in the context menu on a .asmx file, nor a .asmx.cs >> file. >>
This is by design.
The key idea that reformatting also involves shortening references and
optimizing using directives, which can't be done without project context
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Jan Muller" <muller@miracle.cz> wrote in message
news:e7ocbo$hhu$1@is.intellij.net...
>
>
"Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
message news:e7og2b$ac2$1@is.intellij.net...
Ok, but what about files like .asmx files? The Reformat menu item doesn't
show up in the context menu on a .asmx file, nor a .asmx.cs file.
John
>> The file that is not part of a project cannot be reformated. Is this by
>> design or a bug?
>>
>> Honza
>>
>>
>
John Saunders wrote:
>> This is by design.
>> The key idea that reformatting also involves shortening references and
>> optimizing using directives, which can't be done without project context
This sounds like the issue I reported in #25729
http://www.intellij.net/tracker/resharper/viewSCR?publicId=25729
Ciao,
Jens
--
http://www.jenswinter.com
Hello Jens,
I think there can indeed be a problem with placing the reformat command into
the context menu
for .asmx files, we'll check that. But you can use a shortcut assigned to
the ReSharperAddInXXXX.ReformatCode
command or alternatively use the ReSharper|Code|Reformat path from the VS
main menu.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>>> This is by design.
>>> The key idea that reformatting also involves shortening references
>>> and
>>> optimizing using directives, which can't be done without project
>>> context
>> Ok, but what about files like .asmx files? The Reformat menu item
>> doesn't show up in the context menu on a .asmx file, nor a .asmx.cs
>> file.
>>
"Jan Muller" <muller@miracle.cz> wrote in message
news:e7ocbo$hhu$1@is.intellij.net...
And you can't ^W code that's not in a project, either. Annoying if you're
copying old code into a new project, as I was recently.
I'm not positive, but I believe you can't open non-project files from the ^E
list.
///ark
Hello Mark,
yes, we know about this issue. Thanks for noticing anyway.