Feature Request - Code Format Should Honor Expand/Collapse State of Regions
When performing a code format, it would be a nice option for Resharper to remember the expand/collapse state of regions and then return them to that state after the format is done.
After I do a code format in a WinForms code behind file (in vs2003), the first thing I do is scroll back to the top and collapse the 'Windows Form Designer generated code' region to keep the amount of 'scrollable code' in the window to a minimum. Having this feature would eliminate this.
Please sign in to leave a comment.
This is nearly impossible to implemet since VS' API doesn't have any ways to
control region expand/collapse
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Mike Anderson" <no_mail@jetbrains.com> wrote in message
news:6130927.1135874507023.JavaMail.itn@is.intellij.net...
>
>
>
>
Hello Eugene,
that's not true - it has, but we've never tried to use them. May be we should
try though,
since we have a serious problem related to outlining - collapsed regiond
currently prevent us
from correct calculation of screen position in some cases which results in
non-visible quick fixes etc.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"