mnemonics icon indicating copy to clipboard operation
mnemonics copied to clipboard

Support Rider?

Open viktor-nikolaev opened this issue 6 years ago • 7 comments

Hi! Is it possible to use mnemonics with Rider?

viktor-nikolaev avatar Aug 24 '18 15:08 viktor-nikolaev

https://rider-support.jetbrains.com/hc/en-us/articles/115001610564-How-to-repack-ReSharper-extension-to-Rider-plugin

altmank avatar Dec 18 '18 22:12 altmank

Works for R# 2019.1 jetbrains.mnemonics.1.1.2.zip

inyutin-maxim avatar May 02 '19 12:05 inyutin-maxim

Rider 2019.2

image

😢

foobarbazmeow avatar Aug 14 '19 10:08 foobarbazmeow

@antigravity Use the zip in the thread, extract the file plugin.xml from the zip directory jetbrains.mnemonics\META-INT\plugin.xml. In plugin.xml, change the line like <idea-version since-build="191.6733" until-build="199.*"/>, setting the 'until-build' value to a value that includes your current Rider IDE version. Save the plugin.xml file and overwrite the file in the zip archive with this updated file. Then from Rider, you should now be able to import this plugin zip. I used 7zip to do my zip file modifications. I tested this works as of v192.

altmank avatar Aug 27 '19 19:08 altmank

@altmank 👍 thx

foobarbazmeow avatar Aug 28 '19 09:08 foobarbazmeow

Adding a version of the zip that has had the plugin.xml updated to work until version 900 (currently were on about 200) jetbrains.mnemonics.1.1.2_WorksUntilVersion900.zip

altmank avatar Apr 20 '20 18:04 altmank

For some reason (no alerts were shown), Rider started removing my version hacked version of this.

I tried a couple things without success.

My current workaround was to just directly install the templates.

I extracted "templates.DotSettings" from the zip file (jetbrains.mnemonics.1.1.2.nupkg\DotFiles\Extensions\JetBrains.Mnemonics\settings) and then I copied the contents inside the ResourceDictionary tag and pasted it into my "GlobalSettingsStorage.DotSettings" file, also inside the ResourceDictionary tag.

This appears to effectively manually installed the templates and avoids whatever plugin issue I was having.

I used this reference: https://stackoverflow.com/questions/69584156/how-to-import-resharper-templates-to-the-rider

altmank avatar Nov 29 '21 22:11 altmank