Why does local rename search through all files?

When I rename a local variable, I would expect it to be quite speedy. However it seems to be going through every file, looking for god only knows what...

karl

5 comments
Comment actions Permalink

Hello karl,

make sure you're using ReSharper's rename, and not the VS's built-in one.
Why do you
think it searches through every file?


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

When I rename a local variable, I would expect it to be quite speedy.
However it seems to be going through every file, looking for god only
knows what...

karl



0
Comment actions Permalink

Where is R# rename? I only see one and that one is from VS2005.
Shimon


"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d9b43df8c7be3f9b13868c@news.intellij.net...

Hello karl,

>

make sure you're using ReSharper's rename, and not the VS's built-in one.
Why do you think it searches through every file?

>
>

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>
>> When I rename a local variable, I would expect it to be quite speedy.
>> However it seems to be going through every file, looking for god only
>> knows what...
>>
>> karl
>>
>



0
Comment actions Permalink

Hello Shimon,

it is assigned to the F2 shortcut and also accessible via ReSharper|Refactor


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Where is R# rename? I only see one and that one is from VS2005. Shimon

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d9b43df8c7be3f9b13868c@news.intellij.net...

>> Hello karl,
>>
>> make sure you're using ReSharper's rename, and not the VS's built-in
>> one. Why do you think it searches through every file?
>>
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> When I rename a local variable, I would expect it to be quite
>>> speedy. However it seems to be going through every file, looking for
>>> god only knows what...
>>>
>>> karl
>>>


0
Comment actions Permalink

Of course. What an idiot. I thought I had that covered too.

Any chance of getting more context-menu customization? I remember int the pre 1.0 EAP there were more context menu options, but that was "reorganized" shortly before the 1.0 launch.

I'd love to have (a) more things on the context menu (b) greater control over the order/placement and (c) removing some of the built-in stuff (no need for 2 "refactor" entries)

Karl

0
Comment actions Permalink

Hello karl,

adding more commands to the context menu is not necessarily a good thing,
since
many users wouldn't like it. But in any case in VS you actually have full
control over
the contents of the context menu. The following is quoted from my previous
post to
the ReSharper community newsgroup:

"as I've just discovered it is possible to customize contents of context
menus
in VS.
A way to do this is as follows. First, one needs to show context menus as
a toolbar
(Tools|Customize|Toolbars, check 'Context Menus' toolbar). Second, one may
go
to the Tools|Customize|Commands|Rearrange Commands|Toolbar. Since context
menus
are now displayed as a toolbar, new items like "Context Menu|..." will appear

there.
Select "Context Menu|Editor Context Menu|Code Window", and you'll get access
to the
context of the context menu appearing when you right-click in the code editor.

You
can now add and remove commands from there. Finally, uncheck 'Context Menus'
toolbar
if you don't really want it to appear."

So you may adjust the context menu according to your preferences.


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Of course. What an idiot. I thought I had that covered too.

Any chance of getting more context-menu customization? I remember int
the pre 1.0 EAP there were more context menu options, but that was
"reorganized" shortly before the 1.0 launch.

I'd love to have (a) more things on the context menu (b) greater
control over the order/placement and (c) removing some of the
built-in stuff (no need for 2 "refactor" entries)

Karl



0

Please sign in to leave a comment.