cezarypiatek / MappingGeneratorIssueTracker

This is a issue tracker for MappingGenerator
2 stars 0 forks source link

VS 2022 - "Generate mapping code" action unavailable in ReSharper quick actions menu #25

Open stamminator opened 12 months ago

stamminator commented 12 months ago

I just installed MappingGenerator for VS2022 to my Visual Studio 2022 64-bit (17.7.4) instance alongside my existing ReSharper (2023.2.2) installation. In the VS default quick actions menu, I do get the MappingGenerator actions, but in the ReSharper quick actions menu, I don't.

image

image

I've tried disabling and reenabling MappingGenerator, updating ReSharper, and restarting my machine. No change. I checked out https://github.com/cezarypiatek/MappingGenerator/issues/50 even though it's from an older version in hopes it had a solution, but it's outdated these years later. No combination of the options "Hide Visual Studio Quick Actions icons in the left editor margin", "Merge Visual Studio Quick Actions into ReSharper action indicator", or its sub-options result in the MappingGenerator quick actions being available in the ReSharper menu. The best I can get is showing both the VS and R# quick actions menus at all times, which is a clunky mess that just isn't going to work with me.

image

How can I get the MappingGenerator quick actions to appear in my R# quick actions menu?

cezarypiatek commented 12 months ago

Unfortunately, I can't help you with that. You should rather report that on Resharper bug tracker as it's strictly related to Resharper integration with VisualStudio - not only MappingGenerator is affected but all roslyn-based code actions. In the previous versions of Resharper, selecting "Merge Visual Studio Quick Actions" option was working perfectly. From what I can observe, right now the only way to get access to roslyn code action is ctr + . shortcut.

UPDATE: Sometimes Roslyn actions do appear in the resharper context menu and sometimes they are missing. Behaves completely randomly - definitely something broken in the R#.

d4e666 commented 10 months ago

I was wondering if you guys can't add an option for configuring the shortcut to the mappings so that your options are always available (no matter the source of the issue). This would the even be helpful if fomr some reason VS itself messes things up. If R# can create a shortcut to their actions, maybe so can you.