Actions.xml syntax for adding menu Items


Hello Everybody,

.In the Latest resharper builds 'anchor-id="Help" position="before"' style
of specifying the actions doesnt seem to work.
I guess there was some major openAPI changes.
So whats the new Syntax.
thanx
Irfan




3 comments
Comment actions Permalink

Hello Irfan,

if you mean builds 300 and higher, there were some changes in the implementation
of action system and, in particular,
its integration with Visual Studio. Basically, now ReSharper doesn't re-create
its UI in Visual Studio on each start-up
but instead uses VS's persistance mechanisms for menu items. The goal was
(obviously) to reduce start-up time. Full initialization
of UI in Visual Studio only happens on the first start-up, and is controlled
by the following registry value:

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0

The implication of the changes I mentioned is that if you added a new plug-in
to ReSharper, you need to
remove this value from the registry so that ReSharper will re-initialize
its UI in Visual Studio on the next startup. Does removing
it and re-starting VS solves the problem?

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

Hello Everybody,

.In the Latest resharper builds 'anchor-id="Help" position="before"'
style
of specifying the actions doesnt seem to work.
I guess there was some major openAPI changes.
So whats the new Syntax.
thanx
Irfan



0
Comment actions Permalink


Hello Dmitry,
It did work and the new plugin i am working on started to show where i expected.
Thanks for the information.
But surely this now makes it more important for Jetbrains to provide for
plugin install options.
Thanx
Itfan

Hello Irfan,

if you mean builds 300 and higher, there were some changes in the
implementation
of action system and, in particular,
its integration with Visual Studio. Basically, now ReSharper doesn't
re-create
its UI in Visual Studio on each start-up
but instead uses VS's persistance mechanisms for menu items. The goal
was
(obviously) to reduce start-up time. Full initialization
of UI in Visual Studio only happens on the first start-up, and is
controlled
by the following registry value:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0


The implication of the changes I mentioned is that if you added a new
plug-in
to ReSharper, you need to
remove this value from the registry so that ReSharper will
re-initialize
its UI in Visual Studio on the next startup. Does removing
it and re-starting VS solves the problem?
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> Hello Everybody,
>>
>> .In the Latest resharper builds 'anchor-id="Help" position="before"'
>> style
>> of specifying the actions doesnt seem to work.
>> I guess there was some major openAPI changes.
>> So whats the new Syntax.
>> thanx
>> Irfan


0
Comment actions Permalink

Hello Irfan,

we'll definitely work on plugin installation support. Surely ReSharper should
itself realize the necessity to re-initialize its UI when a plug-in
has been added.

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

Hello Dmitry,
It did work and the new plugin i am working on started to show where i
expected.
Thanks for the information.
But surely this now makes it more important for Jetbrains to provide
for
plugin install options.
Thanx
Itfan

>> Hello Irfan,
>>
>> if you mean builds 300 and higher, there were some changes in the
>> implementation
>> of action system and, in particular,
>> its integration with Visual Studio. Basically, now ReSharper doesn't
>> re-create
>> its UI in Visual Studio on each start-up
>> but instead uses VS's persistance mechanisms for menu items. The goal
>> was
>> (obviously) to reduce start-up time. Full initialization
>> of UI in Visual Studio only happens on the first start-up, and is
>> controlled
>> by the following registry value:
>> HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0
>>
>> The implication of the changes I mentioned is that if you added a new
>> plug-in
>> to ReSharper, you need to
>> remove this value from the registry so that ReSharper will
>> re-initialize
>> its UI in Visual Studio on the next startup. Does removing
>> it and re-starting VS solves the problem?
>> Regards,
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> Hello Everybody,
>>>
>>> .In the Latest resharper builds 'anchor-id="Help" position="before"'
>>> style
>>> of specifying the actions doesnt seem to work.
>>> I guess there was some major openAPI changes.
>>> So whats the new Syntax.
>>> thanx
>>> Irfan


0

Please sign in to leave a comment.