Reordering Code

I read in a forum that Resharper will soon have the ability to automatically
reorder code by scope and name. For example, maybe I want all of my public
methods in a region organized alphabetically by method name.

I can't find that functionality in the current 2.0 build. Does anybody know
when that feature will be implemented and released? If not soon, I may try
to make my own plugin.

Thank,
Al


3 comments
Comment actions Permalink

This functionality is already implemented in the upcoming 3.0 version.
The EAP will start soon.

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Al Tenhundfeld" <newsgroups1@tenhundfeld.org> wrote in message
news:ef1oce$j10$1@is.intellij.net...
>I read in a forum that Resharper will soon have the ability to
>automatically reorder code by scope and name. For example, maybe I want all
>of my public methods in a region organized alphabetically by method name.
>

I can't find that functionality in the current 2.0 build. Does anybody
know when that feature will be implemented and released? If not soon, I
may try to make my own plugin.

>

Thank,
Al



0
Comment actions Permalink

Until the next EAP starts, you can use the "File Structure Window" and
manually drag methods and members around, and view the context of regions,
etc. It's not automatic, but it's a lot easier than cut/paste in the
editor.

"Al Tenhundfeld" <newsgroups1@tenhundfeld.org> wrote in message
news:ef1oce$j10$1@is.intellij.net...
>I read in a forum that Resharper will soon have the ability to
>automatically reorder code by scope and name. For example, maybe I want all
>of my public methods in a region organized alphabetically by method name.
>

I can't find that functionality in the current 2.0 build. Does anybody
know when that feature will be implemented and released? If not soon, I
may try to make my own plugin.

>

Thank,
Al



0
Comment actions Permalink

Al Tenhundfeld wrote:

I read in a forum that Resharper will soon have the ability to automatically
reorder code by scope and name. For example, maybe I want all of my public
methods in a region organized alphabetically by method name.

I can't find that functionality in the current 2.0 build. Does anybody know
when that feature will be implemented and released? If not soon, I may try
to make my own plugin.

Thank,
Al


I really like the "move class member up/down" functionality.

When the cursor is within a member, press ctrlaltshift+up/down to move
the member above/below the previous/next member.

0

Please sign in to leave a comment.