I use following xml file:
]]> <action id="DT.ReSharperPlugin.Actions.MoveStringsFromScopeToResource" text="Move All Strings To Resource..." shortcut="ControlShiftOemQuotes"/>
]]>
Plugin load without exceptions, but i don't find my menu items. My menu items present in "Refactor This" only.
did you try to reset one-time initialization entries under the registry key HKEY_CURRENT_USER\Software\JetBrains\ReSharper\v3.0\vs8.0? Just remove all the values under this key and restart ReSharper with your plugin. If the menu items are still missing, please post here ReSharper log (ReSharper|Show Log).
>> Hello Alexander, >> >> what exactly doesn't work? >>
I use following xml file: <?xml version="1.0" encoding="utf-8" ?> <actions> <action id="DT.ReSharperPlugin.Actions.MoveStringsFromScopeToResource" text="Move All Strings To Resource..." shortcut="ControlShiftOemQuotes"/> <action id="DT.ReSharperPlugin.Actions.MoveStringToResource" text="Move String To Resource..." shortcut="Control+OemQuotes" scope="Text Editor"/> <insert group-id="Refactor" position="last"> <action-group id="Localization" text="Localization"> <action-ref id="DT.ReSharperPlugin.Actions.MoveStringToResource"/> <action-ref id="DT.ReSharperPlugin.Actions.MoveStringsFromScopeToResource"/> </action-group> </insert> </actions> Plugin load without exceptions, but i don't find my menu items. My menu items present in "Refactor This" only.
I don't see any indication of problem with action insertion in the log. Are you menu items present in the ReSharper|Refactor menu (where you insert them according the Actions.xml)?
Sorry I found the response - you mentioned that menu items are present in 'Refactor This' menu only. I'll try to modify one of the sample plugins to insert actions into Refactor menu ASAP.
I don't see any indication of problem with action insertion in the log. Are you menu items present in the ReSharper|Refactor menu (where you insert them according the Actions.xml)?
>>> did you try to reset one-time initialization entries under the >>> registry key >>> HKEY_CURRENT_USER\Software\JetBrains\ReSharper\v3.0\vs8.0? >>> >> Yes i did. >> Look at the attachment.
I've modified AddMenuItem sample and added the following lines to its Actions.xml:
]]>
After I had forced one-time initialization, I saw about 10 'Localization' entries under the 'Refactor' menu. This is most likely related to a bug in ReSharper's action manager implementation under Visual Studio. The bug will be fixed in 3.0.2. However, the added items are present in menu, except for there are too many of them.
Sorry I found the response - you mentioned that menu items are present in 'Refactor This' menu only. I'll try to modify one of the sample plugins to insert actions into Refactor menu ASAP.
>> I don't see any indication of problem with action insertion in the >> log. Are you menu items present in the ReSharper|Refactor menu (where >> you insert them according the Actions.xml)? >> >> Dmitry Shaporenkov >> JetBrains, Inc >> http://www.jetbrains.com >> "Develop with pleasure!" >>>> did you try to reset one-time initialization entries under the >>>> registry key >>>> HKEY_CURRENT_USER\Software\JetBrains\ReSharper\v3.0\vs8.0? >>>> >>> Yes i did. >>> Look at the attachment.
Hello Alexander,
what exactly doesn't work?
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
I use following xml file:
]]>
<action id="DT.ReSharperPlugin.Actions.MoveStringsFromScopeToResource"
text="Move All Strings To Resource..." shortcut="ControlShiftOemQuotes"/>
]]>
Plugin load without exceptions, but i don't find my menu items. My menu items
present in "Refactor This" only.
Hello Alexander,
did you try to reset one-time initialization entries under the registry key
HKEY_CURRENT_USER\Software\JetBrains\ReSharper\v3.0\vs8.0? Just remove all
the values under this key and restart ReSharper with your plugin.
If the menu items are still missing, please post here ReSharper log (ReSharper|Show
Log).
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Hello Alexander,
>>
>> what exactly doesn't work?
>>
Yes i did.
Look at the attachment.
Attachment(s):
JetBrainsLog.2007-07-05T15-51-45.devenv#3036.zip
I don't see any indication of problem with action insertion in the log. Are
you menu items present in the ReSharper|Refactor menu (where you insert them
according the Actions.xml)?
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> did you try to reset one-time initialization entries under the
>> registry key
>> HKEY_CURRENT_USER\Software\JetBrains\ReSharper\v3.0\vs8.0?
>>
Sorry I found the response - you mentioned that menu items are present in
'Refactor This' menu only. I'll try to modify one of the sample plugins to
insert actions into Refactor menu ASAP.
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>>> did you try to reset one-time initialization entries under the
>>> registry key
>>> HKEY_CURRENT_USER\Software\JetBrains\ReSharper\v3.0\vs8.0?
>>>
>> Yes i did.
>> Look at the attachment.
No, only in "Refactor This" popup menu.
I've modified AddMenuItem sample and added the following lines to its Actions.xml:
]]>
After I had forced one-time initialization, I saw about 10 'Localization'
entries under the 'Refactor' menu. This is most likely related to a bug in
ReSharper's
action manager implementation under Visual Studio. The bug will be fixed
in 3.0.2. However, the added items are present in menu, except for there
are too many
of them.
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> I don't see any indication of problem with action insertion in the
>> log. Are you menu items present in the ReSharper|Refactor menu (where
>> you insert them according the Actions.xml)?
>>
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>>> did you try to reset one-time initialization entries under the
>>>> registry key
>>>> HKEY_CURRENT_USER\Software\JetBrains\ReSharper\v3.0\vs8.0?
>>>>
>>> Yes i did.
>>> Look at the attachment.