ReSharper Pickings

After using ReSharper 1.0+ (all the newest etc) for a few months now, I've come down to a few things I can knowledgably talk about for it ..

My biggest gripe is storage of the live templates. I have to re-create my live templates at least once or twice a week because they never get saved it seems. Changing 'cache' settings does not improve this. It is rather irritating, I must admit ...

My second gripe is autonaming of fields or variables. Oftentimes I do not want to use the names that Resharper proposes when I am changing the name of a field, such as inside of a foreach loop. I try to type in my own name, but ReSharper ignores me and uses its own recommendation instead. I have to use "Undo" to get it to go back to what I had given it.

My third gripe is the Live Templates. They FORCE you to import namespaces, No matter what. Even with the "Reformat" unchecked, it will still import namespaces that you define implicitly. For instance, with a Windows Form, there is a 'designer variable' called "components" that is from the System.ComponentModel namespace. . Well .. I want it to read

private System.ComponentModel.Container components = null; but no matter what, when I create a LiveTemplate for a Windows form (with some other customization I've added to them), it imports the System.ComponentModel namespace, even when I implicitly tell it I don't want it to.

I'd like to be able to tell ReSharper NOT to import certain namespaces. It has an option to tell it which namespaces should always be imported, but not the otherway around. . . .

Settings seem rather unstable. No matter how often I tweak with the settings, they continually revert back to their defaults. this is pretty annoying, as I can find no rhyme or reason or pattern to it. It just keeps happening...

4 comments
Comment actions Permalink

Just for the record, I haven't experienced your first two gripes at all.
Especially with the autonaming of fields (whether via introduce-variable or
via a foreach template expansion), it just puts a red box around whatever
its suggestion is, and lets me type in a new one if I want (and as I start
typing, it generally provides some additional options). When I'm done, I
just hit tab, and presto the change is made.

Also note that if you didn't like the name after the completion of the
template expansion, you could just right-click on it and do a
"refactor-->rename" rather than undo.

So I'm not sure what the issue you're having is here...

"Derek Thornton" <derek@btacinc.com> wrote in message
news:cp7ljf$pks$1@is.intellij.net...

After using ReSharper 1.0+ (all the newest etc) for a few months now, I've
come down to a few things I can knowledgably talk about for it ..

>

My biggest gripe is storage of the live templates. I have to re-create my
live templates at least once or twice a week because they never get saved
it seems. Changing 'cache' settings does not improve this. It is rather
irritating, I must admit ...

>

My second gripe is autonaming of fields or variables. Oftentimes I do not
want to use the names that Resharper proposes when I am changing the name
of a field, such as inside of a foreach loop. I try to type in my own
name, but ReSharper ignores me and uses its own recommendation instead. I
have to use "Undo" to get it to go back to what I had given it.

>

My third gripe is the Live Templates. They FORCE you to import namespaces,
No matter what. Even with the "Reformat" unchecked, it will still import
namespaces that you define implicitly. For instance, with a Windows Form,
there is a 'designer variable' called "components" that is from the
System.ComponentModel namespace. . Well .. I want it to read

>

private System.ComponentModel.Container components = null; but no matter
what, when I create a LiveTemplate for a Windows form (with some other
customization I've added to them), it imports the System.ComponentModel
namespace, even when I implicitly tell it I don't want it to.

>

I'd like to be able to tell ReSharper NOT to import certain namespaces. It
has an option to tell it which namespaces should always be imported, but
not the otherway around. . . .

>

Settings seem rather unstable. No matter how often I tweak with the
settings, they continually revert back to their defaults. this is pretty
annoying, as I can find no rhyme or reason or pattern to it. It just keeps
happening...



0
Comment actions Permalink


I usually hit "Enter", not tab, so that may be why I experience something different. I don't think it's as much a 'bug' as it is just a misunderstood feature in the fact that I may do things differently than a lot of other programmers, who knows. It's not enough of a gripe for me to consider not using ReSharper.

And the first problem is more WHEN I am using "rename", that it happens ...

Like I said, none of these problems are annoying enough for me to possibly consider not using ReSharper ...but I sure do hope the caching/saving of LiveTemplates/settings improves ...

Just for the record, I haven't experienced your first two gripes at
all. Especially with the autonaming of fields (whether via
introduce-variable or via a foreach template expansion), it just puts
a red box around whatever its suggestion is, and lets me type in a
new one if I want (and as I start typing, it generally provides some
additional options). When I'm done, I just hit tab, and presto the
change is made.

Also note that if you didn't like the name after the completion of the
template expansion, you could just right-click on it and do a
"refactor-->rename" rather than undo.

So I'm not sure what the issue you're having is here...

"Derek Thornton" <derek@btacinc.com> wrote in message
news:cp7ljf$pks$1@is.intellij.net...

>> After using ReSharper 1.0+ (all the newest etc) for a few months now,
>> I've come down to a few things I can knowledgably talk about for it
>> ..
>>
>> My biggest gripe is storage of the live templates. I have to
>> re-create my live templates at least once or twice a week because
>> they never get saved it seems. Changing 'cache' settings does not
>> improve this. It is rather irritating, I must admit ...
>>
>> My second gripe is autonaming of fields or variables. Oftentimes I do
>> not want to use the names that Resharper proposes when I am changing
>> the name of a field, such as inside of a foreach loop. I try to type
>> in my own name, but ReSharper ignores me and uses its own
>> recommendation instead. I have to use "Undo" to get it to go back to
>> what I had given it.
>>
>> My third gripe is the Live Templates. They FORCE you to import
>> namespaces, No matter what. Even with the "Reformat" unchecked, it
>> will still import namespaces that you define implicitly. For
>> instance, with a Windows Form, there is a 'designer variable' called
>> "components" that is from the System.ComponentModel namespace. .
>> Well .. I want it to read
>>
>> private System.ComponentModel.Container components = null; but no
>> matter what, when I create a LiveTemplate for a Windows form (with
>> some other customization I've added to them), it imports the
>> System.ComponentModel namespace, even when I implicitly tell it I
>> don't want it to.
>>
>> I'd like to be able to tell ReSharper NOT to import certain
>> namespaces. It has an option to tell it which namespaces should
>> always be imported, but not the otherway around. . . .
>>
>> Settings seem rather unstable. No matter how often I tweak with the
>> settings, they continually revert back to their defaults. this is
>> pretty annoying, as I can find no rhyme or reason or pattern to it.
>> It just keeps happening...
>>

0
Comment actions Permalink

Well, when filling out the red-boxed items during a template expansion, you
should be using Tab... just FYI.

And I'm wondering if there isn't something else going on with your problems
saving things reliably... again, I've had no such problems that I've been
aware of.

"Derek Thornton" <derek@btacinc.com> wrote in message
news:cpc8ub$15u$1@is.intellij.net...
>

I usually hit "Enter", not tab, so that may be why I experience something
different. I don't think it's as much a 'bug' as it is just a
misunderstood feature in the fact that I may do things differently than a
lot of other programmers, who knows. It's not enough of a gripe for me to
consider not using ReSharper.

>

And the first problem is more WHEN I am using "rename", that it happens
...

>

Like I said, none of these problems are annoying enough for me to possibly
consider not using ReSharper ...but I sure do hope the caching/saving of
LiveTemplates/settings improves ...

>
>> Just for the record, I haven't experienced your first two gripes at
>> all. Especially with the autonaming of fields (whether via
>> introduce-variable or via a foreach template expansion), it just puts
>> a red box around whatever its suggestion is, and lets me type in a
>> new one if I want (and as I start typing, it generally provides some
>> additional options). When I'm done, I just hit tab, and presto the
>> change is made.
>>
>> Also note that if you didn't like the name after the completion of the
>> template expansion, you could just right-click on it and do a
>> "refactor-->rename" rather than undo.
>>
>> So I'm not sure what the issue you're having is here...
>>
>> "Derek Thornton" <derek@btacinc.com> wrote in message
>> news:cp7ljf$pks$1@is.intellij.net...
>>
>>> After using ReSharper 1.0+ (all the newest etc) for a few months now,
>>> I've come down to a few things I can knowledgably talk about for it
>>> ..
>>>
>>> My biggest gripe is storage of the live templates. I have to
>>> re-create my live templates at least once or twice a week because
>>> they never get saved it seems. Changing 'cache' settings does not
>>> improve this. It is rather irritating, I must admit ...
>>>
>>> My second gripe is autonaming of fields or variables. Oftentimes I do
>>> not want to use the names that Resharper proposes when I am changing
>>> the name of a field, such as inside of a foreach loop. I try to type
>>> in my own name, but ReSharper ignores me and uses its own
>>> recommendation instead. I have to use "Undo" to get it to go back to
>>> what I had given it.
>>>
>>> My third gripe is the Live Templates. They FORCE you to import
>>> namespaces, No matter what. Even with the "Reformat" unchecked, it
>>> will still import namespaces that you define implicitly. For
>>> instance, with a Windows Form, there is a 'designer variable' called
>>> "components" that is from the System.ComponentModel namespace. .
>>> Well .. I want it to read
>>>
>>> private System.ComponentModel.Container components = null; but no
>>> matter what, when I create a LiveTemplate for a Windows form (with
>>> some other customization I've added to them), it imports the
>>> System.ComponentModel namespace, even when I implicitly tell it I
>>> don't want it to.
>>>
>>> I'd like to be able to tell ReSharper NOT to import certain
>>> namespaces. It has an option to tell it which namespaces should
>>> always be imported, but not the otherway around. . . .
>>>
>>> Settings seem rather unstable. No matter how often I tweak with the
>>> settings, they continually revert back to their defaults. this is
>>> pretty annoying, as I can find no rhyme or reason or pattern to it.
>>> It just keeps happening...
>>>



0
Comment actions Permalink

My biggest gripe is storage of the live templates. I have to re-create
my live templates at least once or twice a week because they never get
saved it seems. Changing 'cache' settings does not improve this. It is
rather irritating, I must admit ...


Hmm... We do not know anything about such problem. Is it reproducable?


My second gripe is autonaming of fields or variables. Oftentimes I do
not want to use the names that Resharper proposes when I am changing
the name of a field, such as inside of a foreach loop. I try to type
in my own name, but ReSharper ignores me and uses its own
recommendation instead. I have to use "Undo" to get it to go back to
what I had given it.


Do you mean that the entered name is prefix of some item in the list of suggestions?
In this case you should press Escape to hide the list. This seems to be a
usability problem but we could not find a better solution.


My third gripe is the Live Templates. They FORCE you to import
namespaces, No matter what. Even with the "Reformat" unchecked, it
will still import namespaces that you define implicitly. For instance,
with a Windows Form, there is a 'designer variable' called
"components" that is from the System.ComponentModel namespace. . Well
.. I want it to read

private System.ComponentModel.Container components = null; but no
matter what, when I create a LiveTemplate for a Windows form (with
some other customization I've added to them), it imports the
System.ComponentModel namespace, even when I implicitly tell it I
don't want it to.


I submitted the following request into the tracker:

http://www.intellij.net/tracker/resharper/viewSCR?publicId=5404


Settings seem rather unstable. No matter how often I tweak with the
settings, they continually revert back to their defaults. this is
pretty annoying, as I can find no rhyme or reason or pattern to it. It
just keeps happening...


Does anybody else here experience problems with settings not saving?

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

After using ReSharper 1.0+ (all the newest etc) for a few months now,
I've come down to a few things I can knowledgably talk about for it ..

My biggest gripe is storage of the live templates. I have to re-create
my live templates at least once or twice a week because they never get
saved it seems. Changing 'cache' settings does not improve this. It is
rather irritating, I must admit ...

My second gripe is autonaming of fields or variables. Oftentimes I do
not want to use the names that Resharper proposes when I am changing
the name of a field, such as inside of a foreach loop. I try to type
in my own name, but ReSharper ignores me and uses its own
recommendation instead. I have to use "Undo" to get it to go back to
what I had given it.

My third gripe is the Live Templates. They FORCE you to import
namespaces, No matter what. Even with the "Reformat" unchecked, it
will still import namespaces that you define implicitly. For instance,
with a Windows Form, there is a 'designer variable' called
"components" that is from the System.ComponentModel namespace. . Well
.. I want it to read

private System.ComponentModel.Container components = null; but no
matter what, when I create a LiveTemplate for a Windows form (with
some other customization I've added to them), it imports the
System.ComponentModel namespace, even when I implicitly tell it I
don't want it to.

I'd like to be able to tell ReSharper NOT to import certain
namespaces. It has an option to tell it which namespaces should always
be imported, but not the otherway around. . . .

Settings seem rather unstable. No matter how often I tweak with the
settings, they continually revert back to their defaults. this is
pretty annoying, as I can find no rhyme or reason or pattern to it. It
just keeps happening...



0

Please sign in to leave a comment.