ReSharper performance

Hello all,

I've been using resharper for a while now, btut I'm more and more
annoyed by the slowdown it seems to cause. Reparsing of the solution
after a build and at startup can take up to 3 minutes each time it
happens and very large files (mostly generated datasets with loads of
tables or idiot forms that need refactoring badly) can bring Visual
Studio to its knees, sometimes making it impossible to work any further.
These are all files of more than 3000 lines of code.

I know my own (personal) system is on the slow side (pentium 3 1000Mhz,
768Mb memory), but I know people who have to do with less.

I've also been using Coderush on and off, and it's much faster (it does
not noticably impact working on my machine at all) while it does a lot
of the same things.

Are there plans to address these issues, or should I seriously start
considering saving more money to buy a new system (which I want anyways,
but can't afford at the moment).

Jesse

15 comments
Comment actions Permalink

Hello Jesse,

Hello all,

I've been using resharper for a while now, btut I'm more and more
annoyed by the slowdown it seems to cause. Reparsing of the solution
after a build and at startup can take up to 3 minutes each time it
happens and very large files (mostly generated datasets with loads of
tables or idiot forms that need refactoring badly) can bring Visual
Studio to its knees, sometimes making it impossible to work any
further. These are all files of more than 3000 lines of code.

I know my own (personal) system is on the slow side (pentium 3
1000Mhz, 768Mb memory), but I know people who have to do with less.

I've also been using Coderush on and off, and it's much faster (it
does not noticably impact working on my machine at all) while it does
a lot of the same things.

Are there plans to address these issues, or should I seriously start
considering saving more money to buy a new system (which I want
anyways, but can't afford at the moment).

Jesse


Are you getting this slow down with the final (1.5) release, new builds (like
161), or what? Or, it doesn't matter...? Are you running any other add-ins?

David Stennett
JetBrains, Inc.


0
Comment actions Permalink

David Stennett wrote:

Hello Jesse,

>> Hello all,
>>
>> I've been using resharper for a while now, btut I'm more and more
>> annoyed by the slowdown it seems to cause. Reparsing of the solution
>> after a build and at startup can take up to 3 minutes each time it
>> happens and very large files (mostly generated datasets with loads of
>> tables or idiot forms that need refactoring badly) can bring Visual
>> Studio to its knees, sometimes making it impossible to work any
>> further. These are all files of more than 3000 lines of code.
>>
>> I know my own (personal) system is on the slow side (pentium 3
>> 1000Mhz, 768Mb memory), but I know people who have to do with less.
>>
>> I've also been using Coderush on and off, and it's much faster (it
>> does not noticably impact working on my machine at all) while it does
>> a lot of the same things.
>>
>> Are there plans to address these issues, or should I seriously start
>> considering saving more money to buy a new system (which I want
>> anyways, but can't afford at the moment).
>>
>> Jesse


Are you getting this slow down with the final (1.5) release, new builds
(like 161), or what? Or, it doesn't matter...? Are you running any
other add-ins?


This is with the 1.5 final. I'm running Coderush together with
resharper, but I tried with Coderush uninstalled and results were the same.

Jesse

0
Comment actions Permalink

We are working on improving the performance. As a workaround you can try
to disable on-the-fly code highlighting (ReSharper > Options > Highlighting).
Does it make things better?

I've also been using Coderush on and off, and it's much faster (it
does not noticably impact working on my machine at all) while it does
a lot of the same things.


I cannot agree. What features are common between ReSharper and CodeRush?

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello all,

I've been using resharper for a while now, btut I'm more and more
annoyed by the slowdown it seems to cause. Reparsing of the solution
after a build and at startup can take up to 3 minutes each time it
happens and very large files (mostly generated datasets with loads of
tables or idiot forms that need refactoring badly) can bring Visual
Studio to its knees, sometimes making it impossible to work any
further. These are all files of more than 3000 lines of code.

I know my own (personal) system is on the slow side (pentium 3
1000Mhz, 768Mb memory), but I know people who have to do with less.

I've also been using Coderush on and off, and it's much faster (it
does not noticably impact working on my machine at all) while it does
a lot of the same things.

Are there plans to address these issues, or should I seriously start
considering saving more money to buy a new system (which I want
anyways, but can't afford at the moment).

Jesse




0
Comment actions Permalink

Valentin Kipiatkov (JetBrains) wrote:

We are working on improving the performance. As a workaround you can try
to disable on-the-fly code highlighting (ReSharper > Options >
Highlighting). Does it make things better?

>> I've also been using Coderush on and off, and it's much faster (it
>> does not noticably impact working on my machine at all) while it does
>> a lot of the same things.


I cannot agree. What features are common between ReSharper and CodeRush?


I know there are a lot of differences, that's why I prefer to use them
both. As far as a quick comparison (did one before about 1,5 months back):

features they both have:
- refactoring (coderush through the refactor plugin)
- some form of colouring, coderush draws fuction and protectionlevel
icons, indentation markers, return, break and throw signals, spelling
errors, refactor hints, region painting and bracket highlighting.
Resharper does error marking, unused/never read marking, statement type
colouring, bracket highlighting and warning markers in the gutter.
- both have a form of quick navigation, quick completion, templates (the
ones in coderush are more powerful), bracket completion & marking
- surround with support
- on-the-fly code formatting

features that coderush has, but resharper lacks:
- smart copy/paste, smart selection
- VS 2005 support since version 1.1
- plugin support & active community
- it's smoother to the eyes, nicer graphics, better layed out interface
- much larger template library
- on-the-fly parsing, no startup/reload waits
- drop/collect markers (also integrated into templates)
- better templating
- performs better on slower systems (probably due to the lack of live
error highlighting & suggestion).
- property, function and constructor pasting (with auto declaration and
linked fields through templates)
- c#, C++ & VB.net support

features that coderush lacks, but resharper has:
- error highlighting and marking in the right gutter
- slightly more refactoring options
- on-demand code formatting
- dead code highlighting & using optimisation
- improved member information
- missing function, override, interface function, using suggestion (also
available in VS2005, so this one counts only for VS2003)

Adding these two together results in a near perfect developer experience.

Jesse


Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Hello all,
>>
>> I've been using resharper for a while now, btut I'm more and more
>> annoyed by the slowdown it seems to cause. Reparsing of the solution
>> after a build and at startup can take up to 3 minutes each time it
>> happens and very large files (mostly generated datasets with loads of
>> tables or idiot forms that need refactoring badly) can bring Visual
>> Studio to its knees, sometimes making it impossible to work any
>> further. These are all files of more than 3000 lines of code.
>>
>> I know my own (personal) system is on the slow side (pentium 3
>> 1000Mhz, 768Mb memory), but I know people who have to do with less.
>>
>> I've also been using Coderush on and off, and it's much faster (it
>> does not noticably impact working on my machine at all) while it does
>> a lot of the same things.
>>
>> Are there plans to address these issues, or should I seriously start
>> considering saving more money to buy a new system (which I want
>> anyways, but can't afford at the moment).
>>
>> Jesse
>>


0
Comment actions Permalink

Any comments on my comparison?

0
Comment actions Permalink

Hello Jesse,

I'm glad that ReSharper helps you to increase your productivity.
We do not have enough time right now to respond in detail. So I've put just
a few comments with ReSharper 2.0 plans and my own attitude to some of
the features. Please, take into consideration that I had a much shorter
experience with CodeRush than you did and did not look close at most
of its features.

Valentin Kipiatkov (JetBrains) wrote:

>> We are working on improving the performance. As a workaround you can
>> try to disable on-the-fly code highlighting (ReSharper > Options >
>> Highlighting). Does it make things better?
>>
>>> I've also been using Coderush on and off, and it's much faster (it
>>> does not noticably impact working on my machine at all) while it
>>> does a lot of the same things.
>>>
>> I cannot agree. What features are common between ReSharper and
>> CodeRush?
>>

I know there are a lot of differences, that's why I prefer to use them
both. As far as a quick comparison (did one before about 1,5 months
back):

features they both have:
- refactoring (coderush through the refactor plugin)
- some form of colouring, coderush draws fuction and protectionlevel
icons, indentation markers, return, break and throw signals, spelling
errors, refactor hints, region painting and bracket highlighting.
Resharper does error marking, unused/never read marking, statement
type
colouring, bracket highlighting and warning markers in the gutter.

ReSharper also draws override/implement/hide icons on the left gutter.

- both have a form of quick navigation, quick completion, templates
(the
ones in coderush are more powerful), bracket completion & marking
- surround with support
- on-the-fly code formatting
features that coderush has, but resharper lacks:
- smart copy/paste, smart selection

ReSharper has smart selection (CtrlW - increase, CtrlShift+W - decrease),
it also has selection commenting (Ctrl/ and CtrlShift+/ will comment selection
if selection is present) and selection embedding. It does not have
selection inversion (switching right and left parts of assignment etc). IMO
this
should be done through intention actions (as they are called in IntelliJ
IDEA)
like "inverse if" etc.
ReSharper does not have smart copy/paste. Personally, I do not like these
feature in CodeRush. I like things being done when I want them being done,
not when a productivity tool has a fancy to do them for me. IMO, if a tool
is able to do something it should only suggest this something, not
do it without explicit "approval action" of the user. For example, standing
on an
assignment inside a loop a user may wish to add the condition on that assignment

to the loop condition, but I do not think it is a good idea to mess that
with the
general copy/paste pattern. Again, I think it is a task for intention actions.

They will be present in 2.0.

- VS 2005 support since version 1.1
- plugin support & active community

Reading CodeRush newsgroups I would say that right now they support some
of VS2005 CTP's.
ReSharper 2.0 EAP will do that sooner or later. It will also have plugin
support.

- it's smoother to the eyes, nicer graphics, better layed out
interface

Generally it is true. In 2.0 we are doing some UI redesign, which hopefully
will make ReSharper look better.
On the other hand some CodeRush UI desicions are puzzling. For example, I
find CodeRush flow highlighting queer.
For example, VS highlights loop header in bold when a user types "continue".
That is convenient. I would expect that
the tool flow highlighting would follow the same pattern. Instead they make
me use a mouse (or am I missing a shortcut?) and
show those funny arrows instead of emphasising the construct itself. We thought
VS support is of the flow coloring is good
enough, but probably, we will add something to it.

- much larger template library

That is true. Nevertheless, I prefer some ReSharper temlates, like "foreach".
ReSharper's "foreach" is just smarter in guessing the collection elements
type after you have typed collection. We plan to extend the library in 2.0.

- on-the-fly parsing, no startup/reload waits

It is a trade-off. Either spend some time beforehand or spend more each
time the tool is needs the tree. In 2.0 startup will be non-modal. That will
make the startup delay less annoying.

- drop/collect markers (also integrated into templates)

For ReSharper users I would advise using CtrlShiftBackspace to jump to
the last edited areas, Ctrl+E to jump to last visited files. VS functionality
in other cases. I think CodeRush markers are more effective when digging
existing code, but ReSharper abilities are at least as good as CodeRush when
creating new code.

- better templating

A matter of taste. IMO CodeRush templates are somewhat more expressive, but
ReSharper ones are easier to grasp.

- performs better on slower systems (probably due to the lack of live
error highlighting & suggestion).

Cannot comment anything on that. There are complaints about both tools. Perhaps,
ReSharper with its modal startup is more optimistic
about users' patience.

- property, function and constructor pasting (with auto declaration
and
linked fields through templates)

Not sure about what this feature is. How it compares with ReSharper's generation
through Alt+Insert?

- c#, C++ & VB.net support

Does CodeRush support C+? What features work for C+? ReSharper 2.0 will
support VB.NET and ASP.NET. ASP is on top of the list.

features that coderush lacks, but resharper has:
- error highlighting and marking in the right gutter
- slightly more refactoring options
- on-demand code formatting
- dead code highlighting & using optimisation
- improved member information
- missing function, override, interface function, using suggestion
(also
available in VS2005, so this one counts only for VS2003)

All these features will be enhanced in 2.0. More errors will be highlighted,
additional refactorings, more options for code formatting, additional quick
fixes.

Adding these two together results in a near perfect developer
experience.

Jesse

>> Valentin Kipiatkov
>> Chief Scientist, Vice President of Product Development
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hello all,
>>>
>>> I've been using resharper for a while now, btut I'm more and more
>>> annoyed by the slowdown it seems to cause. Reparsing of the solution
>>> after a build and at startup can take up to 3 minutes each time it
>>> happens and very large files (mostly generated datasets with loads
>>> of tables or idiot forms that need refactoring badly) can bring
>>> Visual Studio to its knees, sometimes making it impossible to work
>>> any further. These are all files of more than 3000 lines of code.
>>>
>>> I know my own (personal) system is on the slow side (pentium 3
>>> 1000Mhz, 768Mb memory), but I know people who have to do with less.
>>>
>>> I've also been using Coderush on and off, and it's much faster (it
>>> does not noticably impact working on my machine at all) while it
>>> does a lot of the same things.
>>>
>>> Are there plans to address these issues, or should I seriously start
>>> considering saving more money to buy a new system (which I want
>>> anyways, but can't afford at the moment).
>>>
>>> Jesse
>>>
Thanks,
Andrey Simanovsky






0
Comment actions Permalink

I will add a bit to Andrey's comments.

- refactoring (coderush through the refactor plugin)


It's currently in beta and we did not try it because they gave it only to
customers of CodeRush. So let's wait until the release.

- some form of colouring, coderush draws fuction and protectionlevel
icons, indentation markers, return, break and throw signals, spelling
errors, refactor hints, region painting and bracket highlighting.
Resharper does error marking, unused/never read marking, statement
type
colouring, bracket highlighting and warning markers in the gutter.


While most of the above features are just nice and convenient things that
help to read the code, the on-the-fly error highlighting is the feature that
really saves you LOT of time. For example, in our solution each recompilation
costs 5-10 minutes!

features that coderush lacks, but resharper has:


You missed Find Usages feature. Does CodeRush have it? I think it's very
difficult to do any serious development without this feature.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Valentin Kipiatkov (JetBrains) wrote:

>> We are working on improving the performance. As a workaround you can
>> try to disable on-the-fly code highlighting (ReSharper > Options >
>> Highlighting). Does it make things better?
>>
>>> I've also been using Coderush on and off, and it's much faster (it
>>> does not noticably impact working on my machine at all) while it
>>> does a lot of the same things.
>>>
>> I cannot agree. What features are common between ReSharper and
>> CodeRush?
>>

I know there are a lot of differences, that's why I prefer to use them
both. As far as a quick comparison (did one before about 1,5 months
back):

features they both have:
- refactoring (coderush through the refactor plugin)
- some form of colouring, coderush draws fuction and protectionlevel
icons, indentation markers, return, break and throw signals, spelling
errors, refactor hints, region painting and bracket highlighting.
Resharper does error marking, unused/never read marking, statement
type
colouring, bracket highlighting and warning markers in the gutter.
- both have a form of quick navigation, quick completion, templates
(the
ones in coderush are more powerful), bracket completion & marking
- surround with support
- on-the-fly code formatting
features that coderush has, but resharper lacks:
- smart copy/paste, smart selection
- VS 2005 support since version 1.1
- plugin support & active community
- it's smoother to the eyes, nicer graphics, better layed out
interface
- much larger template library
- on-the-fly parsing, no startup/reload waits
- drop/collect markers (also integrated into templates)
- better templating
- performs better on slower systems (probably due to the lack of live
error highlighting & suggestion).
- property, function and constructor pasting (with auto declaration
and
linked fields through templates)
- c#, C++ & VB.net support
features that coderush lacks, but resharper has:
- error highlighting and marking in the right gutter
- slightly more refactoring options
- on-demand code formatting
- dead code highlighting & using optimisation
- improved member information
- missing function, override, interface function, using suggestion
(also
available in VS2005, so this one counts only for VS2003)
Adding these two together results in a near perfect developer
experience.

Jesse

>> Valentin Kipiatkov
>> Chief Scientist, Vice President of Product Development
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hello all,
>>>
>>> I've been using resharper for a while now, btut I'm more and more
>>> annoyed by the slowdown it seems to cause. Reparsing of the solution
>>> after a build and at startup can take up to 3 minutes each time it
>>> happens and very large files (mostly generated datasets with loads
>>> of tables or idiot forms that need refactoring badly) can bring
>>> Visual Studio to its knees, sometimes making it impossible to work
>>> any further. These are all files of more than 3000 lines of code.
>>>
>>> I know my own (personal) system is on the slow side (pentium 3
>>> 1000Mhz, 768Mb memory), but I know people who have to do with less.
>>>
>>> I've also been using Coderush on and off, and it's much faster (it
>>> does not noticably impact working on my machine at all) while it
>>> does a lot of the same things.
>>>
>>> Are there plans to address these issues, or should I seriously start
>>> considering saving more money to buy a new system (which I want
>>> anyways, but can't afford at the moment).
>>>
>>> Jesse
>>>



0
Comment actions Permalink

Andrey Simanovsky (JetBrains) wrote:

Hello Jesse,

I'm glad that ReSharper helps you to increase your productivity. We do
not have enough time right now to respond in detail. So I've put just a
few comments with ReSharper 2.0 plans and my own attitude to some of the
features. Please, take into consideration that I had a much shorter
experience with CodeRush than you did and did not look close at most of
its features.

>> Valentin Kipiatkov (JetBrains) wrote:
>>
>>> We are working on improving the performance. As a workaround you can
>>> try to disable on-the-fly code highlighting (ReSharper > Options >
>>> Highlighting). Does it make things better?
>>>
>>>> I've also been using Coderush on and off, and it's much faster (it
>>>> does not noticably impact working on my machine at all) while it
>>>> does a lot of the same things.
>>>>
>>> I cannot agree. What features are common between ReSharper and
>>> CodeRush?
>>>
>> I know there are a lot of differences, that's why I prefer to use them
>> both. As far as a quick comparison (did one before about 1,5 months
>> back):
>>
>> features they both have:
>> - refactoring (coderush through the refactor plugin)
>> - some form of colouring, coderush draws fuction and protectionlevel
>> icons, indentation markers, return, break and throw signals, spelling
>> errors, refactor hints, region painting and bracket highlighting.
>> Resharper does error marking, unused/never read marking, statement
>> type
>> colouring, bracket highlighting and warning markers in the gutter.


ReSharper also draws override/implement/hide icons on the left gutter.

>> - both have a form of quick navigation, quick completion, templates
>> (the
>> ones in coderush are more powerful), bracket completion & marking
>> - surround with support
>> - on-the-fly code formatting
>> features that coderush has, but resharper lacks:
>> - smart copy/paste, smart selection


ReSharper has smart selection (CtrlW - increase, CtrlShift+W -
decrease)


Coderush does this when selecting and holding ctrl-shift (or another key
combo that I can't fully bring to light)

, it also has selection commenting (Ctrl/ and CtrlShift+/
will comment selection
if selection is present)


In coderush that happens when you have a selectionand hit '/'. Once to
comment, and when a commented selection is made it will uncomment. So
it's about the same.

and selection embedding. It does not have
selection inversion (switching right and left parts of assignment etc).


No, no that's not what it does. It will invert any logical statment that
results in a boolean. So true becomes false, a&b becomes !(!a&b) and
more complex statments get some optimisation aswell.

IMO this should be done through intention actions (as they are called in
IntelliJ IDEA) like "inverse if" etc.
ReSharper does not have smart copy/paste. Personally, I do not like
these feature in CodeRush. I like things being done when I want them
being done,
not when a productivity tool has a fancy to do them for me. IMO, if a tool
is able to do something it should only suggest this something, not do
it without explicit "approval action" of the user. For example, standing
on an assignment inside a loop a user may wish to add the condition on
that assignment
to the loop condition, but I do not think it is a good idea to mess that
with the general copy/paste pattern. Again, I think it is a task for
intention actions.
They will be present in 2.0.


I love 'm, but that's my perogative.

>> - VS 2005 support since version 1.1
>> - plugin support & active community


Reading CodeRush newsgroups I would say that right now they support some
of VS2005 CTP's.
ReSharper 2.0 EAP will do that sooner or later.


They used to support Beta 1, and they're releasing an updated version
for beta 2 this week. But my boss is comparing both Resharper and
Coderush and he finds it very reassuring to see that a lot of the
features coderush offers still add to the functionality of VS2005. As
there is some overlap in features that resharper offers (though
resharper usually has a more clever implementation) they're afraid it
will cost them money now, but that it will onl be useful for the 2003
version. I've tried to explain the upcoming features and constant
inprovement scenario's, but hard proof is what they want to see....

It will also have plugin
support.


I'll look forward to it!

>> - it's smoother to the eyes, nicer graphics, better layed out
>> interface


Generally it is true. In 2.0 we are doing some UI redesign, which
hopefully will make ReSharper look better. On the other hand some
CodeRush UI desicions are puzzling. For example, I find CodeRush flow
highlighting queer.
For example, VS highlights loop header in bold when a user types
"continue". That is convenient. I would expect that
the tool flow highlighting would follow the same pattern. Instead they
make me use a mouse (or am I missing a shortcut?) and
show those funny arrows instead of emphasising the construct itself. We
thought VS support is of the flow coloring is good
enough, but probably, we will add something to it.


It is, I almost never use it, but it sure looks cool ;)

>> - much larger template library

That is true. Nevertheless, I prefer some ReSharper temlates, like
"foreach". ReSharper's "foreach" is just smarter in guessing the
collection elements type after you have typed collection. We plan to
extend the library in 2.0.


The combination of reaharper and cderush is a killing combo ;) best of
both in this case... Please also consider logically grouping templates
and some way to share them with others.

>> - on-the-fly parsing, no startup/reload waits


It is a trade-off. Either spend some time beforehand or spend more each
time the tool is needs the tree. In 2.0 startup will be non-modal. That
will make the startup delay less annoying.


Agreed. The pause right/reload after a build or after switching between
build targets is also killing me. I usually want access to the build
logs or need to test something quickly using an optimised build. A way
to just suppress loading till later by holding shift or something would
be a great addition.

>> - drop/collect markers (also integrated into templates)


For ReSharper users I would advise using CtrlShiftBackspace to jump to
the last edited areas, Ctrl+E to jump to last visited files. VS
functionality in other cases. I think CodeRush markers are more
effective when digging existing code, but ReSharper abilities are at
least as good as CodeRush when creating new code.


Coderush also inserts markers into templates. So if you add for i loop
there's a marker between the first two ';'s, and one in the body. So
it's type esc type, no there's no need to do the correct number of
arrowup/downs to navigate to the next part to be entered.

try
{
} catch() { } finally { ]]>
}

is another sample. The first esc will bring to the exception type, teh
second to the first catch block, the thrid will put you straight into
the finally part.

>> - better templating


A matter of taste. IMO CodeRush templates are somewhat more expressive,
but ReSharper ones are easier to grasp.


Agreed.

>> - performs better on slower systems (probably due to the lack of live
>> error highlighting & suggestion).


Cannot comment anything on that. There are complaints about both tools.
Perhaps, ReSharper with its modal startup is more optimistic
about users' patience.


:D

>> - property, function and constructor pasting (with auto declaration
>> and
>> linked fields through templates)


Not sure about what this feature is. How it compares with ReSharper's
generation through Alt+Insert?


Something like that, but it works through copying a number of fields and
then calling a template. Btw I can't get Alt+Insert to work. Coderush
doesn' have anything under that key... I'll try if I can find out why it
doesnt work...

>> - c#, C++ & VB.net support


Does CodeRush support C+? What features work for C+?


I haven't tried, but they say they all do.

> ReSharper 2.0

will support VB.NET and ASP.NET. ASP is on top of the list.


Cool.

>> features that coderush lacks, but resharper has:
>> - error highlighting and marking in the right gutter
>> - slightly more refactoring options
>> - on-demand code formatting
>> - dead code highlighting & using optimisation
>> - improved member information
>> - missing function, override, interface function, using suggestion
>> (also
>> available in VS2005, so this one counts only for VS2003)


All these features will be enhanced in 2.0. More errors will be
highlighted, additional refactorings, more options for code formatting,
additional quick fixes.

>> Adding these two together results in a near perfect developer
>> experience.

Thank you for your comments. I've learnt a few tricks from your post!

Jesse

0
Comment actions Permalink

Valentin Kipiatkov (JetBrains) wrote:

I will add a bit to Andrey's comments.

>> - refactoring (coderush through the refactor plugin)


It's currently in beta and we did not try it because they gave it only
to customers of CodeRush. So let's wait until the release.


It's quite nice actually. It;s visually very appealing and it just
works. Though it works differently from Resharper, both solutions work.
Resharper does have a fe more options though I think.

>> - some form of colouring, coderush draws fuction and protectionlevel
>> icons, indentation markers, return, break and throw signals, spelling
>> errors, refactor hints, region painting and bracket highlighting.
>> Resharper does error marking, unused/never read marking, statement
>> type
>> colouring, bracket highlighting and warning markers in the gutter.


While most of the above features are just nice and convenient things
that help to read the code, the on-the-fly error highlighting is the
feature that really saves you LOT of time. For example, in our solution
each recompilation costs 5-10 minutes!


Totally agree. One of the main reasons for trying to get Coderush and
resharper to co-exists

>> features that coderush lacks, but resharper has:


You missed Find Usages feature. Does CodeRush have it? I think it's very
difficult to do any serious development without this feature.


Coderush doesn not have this as far as I know. (at least not without the
refactor plugin, and I haven't tried looking for it yet)

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Valentin Kipiatkov (JetBrains) wrote:
>>
>>> We are working on improving the performance. As a workaround you can
>>> try to disable on-the-fly code highlighting (ReSharper > Options >
>>> Highlighting). Does it make things better?
>>>
>>>> I've also been using Coderush on and off, and it's much faster (it
>>>> does not noticably impact working on my machine at all) while it
>>>> does a lot of the same things.
>>>>
>>> I cannot agree. What features are common between ReSharper and
>>> CodeRush?
>>>
>> I know there are a lot of differences, that's why I prefer to use them
>> both. As far as a quick comparison (did one before about 1,5 months
>> back):
>>
>> features they both have:
>> - refactoring (coderush through the refactor plugin)
>> - some form of colouring, coderush draws fuction and protectionlevel
>> icons, indentation markers, return, break and throw signals, spelling
>> errors, refactor hints, region painting and bracket highlighting.
>> Resharper does error marking, unused/never read marking, statement
>> type
>> colouring, bracket highlighting and warning markers in the gutter.
>> - both have a form of quick navigation, quick completion, templates
>> (the
>> ones in coderush are more powerful), bracket completion & marking
>> - surround with support
>> - on-the-fly code formatting
>> features that coderush has, but resharper lacks:
>> - smart copy/paste, smart selection
>> - VS 2005 support since version 1.1
>> - plugin support & active community
>> - it's smoother to the eyes, nicer graphics, better layed out
>> interface
>> - much larger template library
>> - on-the-fly parsing, no startup/reload waits
>> - drop/collect markers (also integrated into templates)
>> - better templating
>> - performs better on slower systems (probably due to the lack of live
>> error highlighting & suggestion).
>> - property, function and constructor pasting (with auto declaration
>> and
>> linked fields through templates)
>> - c#, C++ & VB.net support
>> features that coderush lacks, but resharper has:
>> - error highlighting and marking in the right gutter
>> - slightly more refactoring options
>> - on-demand code formatting
>> - dead code highlighting & using optimisation
>> - improved member information
>> - missing function, override, interface function, using suggestion
>> (also
>> available in VS2005, so this one counts only for VS2003)
>> Adding these two together results in a near perfect developer
>> experience.
>>
>> Jesse
>>
>>> Valentin Kipiatkov
>>> Chief Scientist, Vice President of Product Development
>>> JetBrains, Inc
>>> http://www.jetbrains.com
>>> "Develop with pleasure!"
>>>
>>>> Hello all,
>>>>
>>>> I've been using resharper for a while now, btut I'm more and more
>>>> annoyed by the slowdown it seems to cause. Reparsing of the solution
>>>> after a build and at startup can take up to 3 minutes each time it
>>>> happens and very large files (mostly generated datasets with loads
>>>> of tables or idiot forms that need refactoring badly) can bring
>>>> Visual Studio to its knees, sometimes making it impossible to work
>>>> any further. These are all files of more than 3000 lines of code.
>>>>
>>>> I know my own (personal) system is on the slow side (pentium 3
>>>> 1000Mhz, 768Mb memory), but I know people who have to do with less.
>>>>
>>>> I've also been using Coderush on and off, and it's much faster (it
>>>> does not noticably impact working on my machine at all) while it
>>>> does a lot of the same things.
>>>>
>>>> Are there plans to address these issues, or should I seriously start
>>>> considering saving more money to buy a new system (which I want
>>>> anyways, but can't afford at the moment).
>>>>
>>>> Jesse
>>>>


0
Comment actions Permalink

If you buy Resharper 1.5, I believe the Jetbrains guys have said that the
upgrade to 2.0 will be free.

The'll correct me if I'm wrong, of course, but this is what I recall, which
sort of nullifies your management's concerns here, no? And Resharper 2.0
will run under both VS2003 and VS2005, and will certainly add a LOT to
VS2005.


>

They used to support Beta 1, and they're releasing an updated version for
beta 2 this week. But my boss is comparing both Resharper and Coderush and
he finds it very reassuring to see that a lot of the features coderush
offers still add to the functionality of VS2005. As there is some overlap
in features that resharper offers (though resharper usually has a more
clever implementation) they're afraid it will cost them money now, but
that it will onl be useful for the 2003 version. I've tried to explain the
upcoming features and constant inprovement scenario's, but hard proof is
what they want to see....

>


0
Comment actions Permalink

The combination of reaharper and cderush is a killing combo ;) best of
both in this case... Please also consider logically grouping templates
and some way to share them with others.


Both groupping and various sharing options will be available in 2.0.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Andrey Simanovsky (JetBrains) wrote:

>> Hello Jesse,
>>
>> I'm glad that ReSharper helps you to increase your productivity. We
>> do not have enough time right now to respond in detail. So I've put
>> just a few comments with ReSharper 2.0 plans and my own attitude to
>> some of the features. Please, take into consideration that I had a
>> much shorter experience with CodeRush than you did and did not look
>> close at most of its features.
>>
>>> Valentin Kipiatkov (JetBrains) wrote:
>>>
>>>> We are working on improving the performance. As a workaround you
>>>> can try to disable on-the-fly code highlighting (ReSharper >
>>>> Options > Highlighting). Does it make things better?
>>>>
>>>>> I've also been using Coderush on and off, and it's much faster (it
>>>>> does not noticably impact working on my machine at all) while it
>>>>> does a lot of the same things.
>>>>>
>>>> I cannot agree. What features are common between ReSharper and
>>>> CodeRush?
>>>>
>>> I know there are a lot of differences, that's why I prefer to use
>>> them both. As far as a quick comparison (did one before about 1,5
>>> months back):
>>>
>>> features they both have:
>>> - refactoring (coderush through the refactor plugin)
>>> - some form of colouring, coderush draws fuction and protectionlevel
>>> icons, indentation markers, return, break and throw signals,
>>> spelling
>>> errors, refactor hints, region painting and bracket highlighting.
>>> Resharper does error marking, unused/never read marking, statement
>>> type
>>> colouring, bracket highlighting and warning markers in the gutter.
>> ReSharper also draws override/implement/hide icons on the left
>> gutter.
>>
>>> - both have a form of quick navigation, quick completion, templates
>>> (the
>>> ones in coderush are more powerful), bracket completion & marking
>>> - surround with support
>>> - on-the-fly code formatting
>>> features that coderush has, but resharper lacks:
>>> - smart copy/paste, smart selection
>> ReSharper has smart selection (CtrlW - increase, CtrlShift+W -
>> decrease)
>>

Coderush does this when selecting and holding ctrl-shift (or another
key combo that I can't fully bring to light)

>> , it also has selection commenting (Ctrl/ and CtrlShift+/
>> will comment selection
>> if selection is present)

In coderush that happens when you have a selectionand hit '/'. Once to
comment, and when a commented selection is made it will uncomment. So
it's about the same.

>> and selection embedding. It does not have selection inversion
>> (switching right and left parts of assignment etc).
>>

No, no that's not what it does. It will invert any logical statment
that results in a boolean. So true becomes false, a&b becomes !(!a&b)
and more complex statments get some optimisation aswell.

>> IMO this should be done through intention actions (as they are called
>> in
>> IntelliJ IDEA) like "inverse if" etc.
>> ReSharper does not have smart copy/paste. Personally, I do not like
>> these feature in CodeRush. I like things being done when I want them
>> being done,
>> not when a productivity tool has a fancy to do them for me. IMO, if a
>> tool
>> is able to do something it should only suggest this something, not
>> do
>> it without explicit "approval action" of the user. For example,
>> standing
>> on an assignment inside a loop a user may wish to add the condition
>> on
>> that assignment
>> to the loop condition, but I do not think it is a good idea to mess
>> that
>> with the general copy/paste pattern. Again, I think it is a task for
>> intention actions.
>> They will be present in 2.0.

I love 'm, but that's my perogative.

>>> - VS 2005 support since version 1.1
>>> - plugin support & active community
>> Reading CodeRush newsgroups I would say that right now they support
>> some
>> of VS2005 CTP's.
>> ReSharper 2.0 EAP will do that sooner or later.

They used to support Beta 1, and they're releasing an updated version
for beta 2 this week. But my boss is comparing both Resharper and
Coderush and he finds it very reassuring to see that a lot of the
features coderush offers still add to the functionality of VS2005. As
there is some overlap in features that resharper offers (though
resharper usually has a more clever implementation) they're afraid it
will cost them money now, but that it will onl be useful for the 2003
version. I've tried to explain the upcoming features and constant
inprovement scenario's, but hard proof is what they want to see....

>> It will also have plugin support.
>>

I'll look forward to it!

>>> - it's smoother to the eyes, nicer graphics, better layed out
>>> interface
>>>
>> Generally it is true. In 2.0 we are doing some UI redesign, which
>> hopefully will make ReSharper look better. On the other hand some
>> CodeRush UI desicions are puzzling. For example, I find CodeRush flow
>> highlighting queer.
>> For example, VS highlights loop header in bold when a user types
>> "continue". That is convenient. I would expect that
>> the tool flow highlighting would follow the same pattern. Instead
>> they
>> make me use a mouse (or am I missing a shortcut?) and
>> show those funny arrows instead of emphasising the construct itself.
>> We
>> thought VS support is of the flow coloring is good
>> enough, but probably, we will add something to it.

It is, I almost never use it, but it sure looks cool ;)

>>> - much larger template library
>>>
>> That is true. Nevertheless, I prefer some ReSharper temlates, like
>> "foreach". ReSharper's "foreach" is just smarter in guessing the
>> collection elements type after you have typed collection. We plan to
>> extend the library in 2.0.
>>

The combination of reaharper and cderush is a killing combo ;) best of
both in this case... Please also consider logically grouping templates
and some way to share them with others.

>>> - on-the-fly parsing, no startup/reload waits
>>>
>> It is a trade-off. Either spend some time beforehand or spend more
>> each time the tool is needs the tree. In 2.0 startup will be
>> non-modal. That will make the startup delay less annoying.
>>

Agreed. The pause right/reload after a build or after switching
between
build targets is also killing me. I usually want access to the build
logs or need to test something quickly using an optimised build. A way
to just suppress loading till later by holding shift or something
would be a great addition.

>>> - drop/collect markers (also integrated into templates)
>>>
>> For ReSharper users I would advise using CtrlShiftBackspace to jump
>> to the last edited areas, Ctrl+E to jump to last visited files. VS
>> functionality in other cases. I think CodeRush markers are more
>> effective when digging existing code, but ReSharper abilities are at
>> least as good as CodeRush when creating new code.
>>

Coderush also inserts markers into templates. So if you add for i loop
there's a marker between the first two ';'s, and one in the body. So
it's type esc type, no there's no need to do the correct number of
arrowup/downs to navigate to the next part to be entered.

try
{
<cursor>
}
catch(<marker>)
{
<marker>
}
finally
{
<marker>
}
is another sample. The first esc will bring to the exception type, teh
second to the first catch block, the thrid will put you straight into
the finally part.

>>> - better templating
>>>
>> A matter of taste. IMO CodeRush templates are somewhat more
>> expressive, but ReSharper ones are easier to grasp.
>>

Agreed.

>>> - performs better on slower systems (probably due to the lack of
>>> live error highlighting & suggestion).
>>>
>> Cannot comment anything on that. There are complaints about both
>> tools.
>> Perhaps, ReSharper with its modal startup is more optimistic
>> about users' patience.

:D

>>> - property, function and constructor pasting (with auto declaration
>>> and
>>> linked fields through templates)
>> Not sure about what this feature is. How it compares with ReSharper's
>> generation through Alt+Insert?
>>

Something like that, but it works through copying a number of fields
and then calling a template. Btw I can't get Alt+Insert to work.
Coderush doesn' have anything under that key... I'll try if I can find
out why it doesnt work...

>>> - c#, C++ & VB.net support
>>>
>> Does CodeRush support C+? What features work for C+?
>>

I haven't tried, but they say they all do.

>> ReSharper 2.0
>> will support VB.NET and ASP.NET. ASP is on top of the list.

Cool.

>>> features that coderush lacks, but resharper has:
>>> - error highlighting and marking in the right gutter
>>> - slightly more refactoring options
>>> - on-demand code formatting
>>> - dead code highlighting & using optimisation
>>> - improved member information
>>> - missing function, override, interface function, using suggestion
>>> (also
>>> available in VS2005, so this one counts only for VS2003)
>> All these features will be enhanced in 2.0. More errors will be
>> highlighted, additional refactorings, more options for code
>> formatting, additional quick fixes.
>>
>>> Adding these two together results in a near perfect developer
>>> experience.
>>>

Thank you for your comments. I've learnt a few tricks from your post!

Jesse




0
Comment actions Permalink

Paul Bradshaw wrote:

If you buy Resharper 1.5, I believe the Jetbrains guys have said that the
upgrade to 2.0 will be free.

The'll correct me if I'm wrong, of course, but this is what I recall, which
sort of nullifies your management's concerns here, no? And Resharper 2.0
will run under both VS2003 and VS2005, and will certainly add a LOT to
VS2005.


The problem isn't that you get 2.0 for free... the problem is that they
want re-assurance that the features they pay for now will warrant the
features 2.0 will offer over VS 2005.

Jesse


>>They used to support Beta 1, and they're releasing an updated version for
>>beta 2 this week. But my boss is comparing both Resharper and Coderush and
>>he finds it very reassuring to see that a lot of the features coderush
>>offers still add to the functionality of VS2005. As there is some overlap
>>in features that resharper offers (though resharper usually has a more
>>clever implementation) they're afraid it will cost them money now, but
>>that it will onl be useful for the 2003 version. I've tried to explain the
>>upcoming features and constant inprovement scenario's, but hard proof is
>>what they want to see....
>>


0
Comment actions Permalink

Hello Paul,

If you buy Resharper 1.5, I believe the Jetbrains guys have said that
the upgrade to 2.0 will be free.

The'll correct me if I'm wrong, of course, but this is what I recall,
which sort of nullifies your management's concerns here, no? And
Resharper 2.0 will run under both VS2003 and VS2005, and will
certainly add a LOT to VS2005.

>> They used to support Beta 1, and they're releasing an updated version
>> for beta 2 this week. But my boss is comparing both Resharper and
>> Coderush and he finds it very reassuring to see that a lot of the
>> features coderush offers still add to the functionality of VS2005. As
>> there is some overlap in features that resharper offers (though
>> resharper usually has a more clever implementation) they're afraid it
>> will cost them money now, but that it will onl be useful for the 2003
>> version. I've tried to explain the upcoming features and constant
>> inprovement scenario's, but hard proof is what they want to see....
>>


Yes, ReSharper 1.X customers upgrade to ReSharper 2.0 for FREE ... VS .NEt
2005 (Release) probably won't even be out until September/October 2005, so
why not be productive now? As for features for ReSharper 2.0, have glanced
over the ReSharper 2.0 plan at:

http://www.jetbrains.net/confluence/display/ReSharper/ReSharper2.0Plan

Is there something missing there? We can't really write a comparative list
of VS .NET 2005 vs. ReSharper 2.0 becaue their product isn't done yet ...
we'll have something in the coming month, though -- and the benefits/features
will be clear.

Best regards,

David Stennett
JetBrains, Inc.


0
Comment actions Permalink

Hello, I am using Resharper 2.0.250.54 on Windows XP Pro 64-bit, 2 x 3.0GHz HT CPU, 4GB RAM.

The warm start-up time of the VS2005 with Resharper installed is constantly around 20 seconds. My personal expectation would be no more than 5 seconds on such system. Is there anything can be done to speed this up?

Also, if I uncheck the Startup check box for Resharper in VS Tools / Add-In Manager Dialog and then close and re-open that dialog, the Reharper Startup check box is now checked again. Is this a bug in Reharper or VS?

0
Comment actions Permalink

This is a bug in Visual Studio 2005 and about the performance issues it has
been improved in Build 2.0.253 which is not a production build but you can
try it out if you don't mind that at all.

Gabriel Lozano-Morán

"Serge Matsevilo" <no_reply@jetbrains.com> wrote in message
news:14676531.1149810386847.JavaMail.javamailuser@localhost...

Hello, I am using Resharper 2.0.250.54 on Windows XP Pro 64-bit, 2 x
3.0GHz HT CPU, 4GB RAM.

>

The warm start-up time of the VS2005 with Resharper installed is
constantly around 20 seconds. My personal expectation would be no more
than 5 seconds on such system. Is there anything can be done to speed this
up?

>

Also, if I uncheck the Startup check box for Resharper in VS Tools /
Add-In Manager Dialog and then close and re-open that dialog, the Reharper
Startup check box is now checked again. Is this a bug in Reharper or VS?



0

Please sign in to leave a comment.