Menu item in the View menu

Hi

I would like to add a new menu item in the:

ReSharper | View menu

but I cannot find the appropiate action group-id to use the action.xml file.

Can you help?

Thanks
Jakob Christensen


3 comments
Comment actions Permalink

Hello Jakob,

the id of this action group is simply "View", and this may cause a problem
for an add-in, because ReSharper's ActionManager tends to confuse this action
group with
VS's own View top-level menu. We're going to change the id of ReSharper|View
to avoid this problem.


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


Hi

I would like to add a new menu item in the:

ReSharper | View menu

but I cannot find the appropiate action group-id to use the action.xml
file.

Can you help?

Thanks
Jakob Christensen



0
Comment actions Permalink

Hello Dmitry,

I see what you mean. Using the following Actions.xml throws a big exception:

]]>
<action id="PowerToys.FavoriteFiles" text="Favorite Files" shortcut="ControlAltShift+E"/>
</insert>
</actions>

But thanks anyway.

--Jakob

Hello Jakob,

the id of this action group is simply "View", and this may cause a
problem
for an add-in, because ReSharper's ActionManager tends to confuse this
action
group with
VS's own View top-level menu. We're going to change the id of
ReSharper|View
to avoid this problem.
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Hi
>>
>> I would like to add a new menu item in the:
>>
>> ReSharper | View menu
>>
>> but I cannot find the appropiate action group-id to use the
>> action.xml file.
>>
>> Can you help?
>>
>> Thanks
>> Jakob Christensen


0
Comment actions Permalink

Hello Jakob,

in fact we'll probably rename the action-group 'View' in the next EAP build.


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


Hello Dmitry,

I see what you mean. Using the following Actions.xml throws a big
exception:

<actions>
<insert group-id="View" position="last">
<action id="PowerToys.FavoriteFiles" text="Favorite Files"
shortcut="ControlAltShift+E"/>
</insert>
</actions>
But thanks anyway.

--Jakob

>> Hello Jakob,
>>
>> the id of this action group is simply "View", and this may cause a
>> problem
>> for an add-in, because ReSharper's ActionManager tends to confuse
>> this
>> action
>> group with
>> VS's own View top-level menu. We're going to change the id of
>> ReSharper|View
>> to avoid this problem.
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hi
>>>
>>> I would like to add a new menu item in the:
>>>
>>> ReSharper | View menu
>>>
>>> but I cannot find the appropiate action group-id to use the
>>> action.xml file.
>>>
>>> Can you help?
>>>
>>> Thanks
>>> Jakob Christensen


0

Please sign in to leave a comment.