ReSharper menu items should replace VS Refactor items.
I would like to see all the VS Refactor > items replaced by the equivalent ReSharper items in the context menu. As it stands, items like Rename bring up the VS version, which is far less superior to the ReSharper version.
Please sign in to leave a comment.
Hmmm... I don't know if this should go in Community or EAP. I am trying to be a good citizen :)
Hello Brian,
we've actually discussed this internally, and it seems we have not yet a
common
agreement on this. For me personally, it seems weird that an add-in modifies
a menu
of the host application in such a way that some items get replaced. In other
words, I
advocate that an add-in can only add new items to the UI. But as your post
shows there
are other point of views.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Brian Scott wrote:
>items like Rename bring up the VS version, which is far less superior
to the ReSharper version.
Does "far less superior" mean better or worse? :)
As to the topic, I quite agree with Dmitry Shaporenkov - add-in must be
a good citizen of a host application.
Friendly,
Dmitry
--
Dmitry Lomov
Senior Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop With Pleasure!"
You guys are right. I was thinking about an end result I would like to see, without thinking through the possible implementation.
I was wanting to get to the ReSharper options through the context menu after having the VS option bite me when doing a refactoring (see comment to Dmitry L below). Maybe some other way would work. I've tried removing the VS options through the menu cusomization but that doesn't work very well. Probably because they have the same name.
Dmitry L... I was trying to be nice even though I've had the VS refactoring mess things up (don't rename a parameter called 'name' and select 'Search in comments' with the VS refactoring. Every instance of name in every project will be changed, including xml tags like <param name="">). You guys have a far superior product :).
It's for EAP because it's what is not good from your point of view in current
EAP builds.
Thanks!
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
I think we could provide an option but in any case messing the Refactor menu
with items from both VS and ReSharper should be avoided. If we leave VS items
we should place ours into different submenu.
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> I would like to see all the VS Refactor > items replaced by the
>> equivalent ReSharper items in the context menu. As it stands, items
>> like Rename bring up the VS version, which is far less superior to
>> the ReSharper version.
>>
Hello Valentin,
I'd vote for placing ReSharper actions into a different submenu of the context
menu.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> For me personally, it seems weird that an add-in
>> modifies
>> a menu
>> of the host application in such a way that some items get replaced.
>> Hello Brian,
>>
>> we've actually discussed this internally, and it seems we have not
>> yet
>> a
>> common
>> agreement on this. For me personally, it seems weird that an add-in
>> modifies
>> a menu
>> of the host application in such a way that some items get replaced.
>> In
>> other
>> words, I
>> advocate that an add-in can only add new items to the UI. But as your
>> post
>> shows there
>> are other point of views.
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I would like to see all the VS Refactor > items replaced by the
>>> equivalent ReSharper items in the context menu. As it stands, items
>>> like Rename bring up the VS version, which is far less superior to
>>> the ReSharper version.
>>>
Hello Dmitry,
+1
Regards,
Maxim
I would really like to see an option to replace the VS refactor menu
with R#...
If yo uare not about to use the built in refactorings you are better off
with them not visible at all.
Amir
Hello Amir,
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.
Sorry if I've just reminded something obvious :)
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Super, Thanks Dmitry!!!
"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c8a894d9ad4c28c7b8e5b9b1338d@news.intellij.net...
>
>
>
>
>> I would really like to see an option to replace the VS refactor
>> menu
>> with R#...
>> If yo uare not about to use the built in refactorings you are better
>> off
>> with them not visible at all.
>> Amir
>>
>
> Does "far less superior" mean better or worse? :)
Interesting grammar construct, sounds like a paradox. He's calling the
VS refactory superior as well, but is it possible to compare 2 items
that are both superior? :)
Anyway, I wholeheartly agree with Brian, if there's nothing that Visual
Studio refactoring has but Resharper doesn't, please replace that
functionality to prevent accidental use ;)
Thx!
Wiebe
Dmitry Lomov (JetBrains) wrote:
>> I would like to see all the VS Refactor items replaced by the
>> equivalent ReSharper items in the context menu. As it stands,
It's good, better than others, better than nothing, but not as good as ReSharper.
Stack overflow huh :) I was wondering where that aneurysm came from...
+1
>> Hello Amir,
>>
>> 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.
>> Sorry if I've just reminded something obvious :)
>>
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I would really like to see an option to replace the VS refactor
>>> menu
>>> with R#...
>>> If yo uare not about to use the built in refactorings you are better
>>> off
>>> with them not visible at all.
>>> Amir