JetBrains / mnemonics

Source code for mnemonic template generators for ReSharper and IDEA
Apache License 2.0
71 stars 22 forks source link

Support Rider? #16

Open viktor-nikolaev opened 6 years ago

viktor-nikolaev commented 6 years ago

Hi! Is it possible to use mnemonics with Rider?

altmank commented 5 years ago

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

inyutin-maxim commented 5 years ago

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

foobarbazmeow commented 5 years ago

Rider 2019.2

image

😢

altmank commented 5 years ago

@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.

foobarbazmeow commented 5 years ago

@altmank 👍 thx

altmank commented 4 years ago

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 commented 2 years ago

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