Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stamminator opened this issue Sep 27, 2023 · 2 comments

Comments

@stamminator
Copy link

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 cezarypiatek/MappingGenerator#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
Copy link
Owner

cezarypiatek commented Sep 27, 2023

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
Copy link

d4e666 commented Nov 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants