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

Quick actions (lightbulb) does not auto select the first suggestion #623

Open
HEGIT-TBL opened this issue Jul 5, 2024 · 1 comment
Open
Labels

Comments

@HEGIT-TBL
Copy link

Describe the bug
Using the quick actions (lightbulb) shortcut with the Devskim Visual Studio extension enabled does not automatically select the first suggestion.

To Reproduce
Steps to reproduce the behavior:

  1. Install or Enable Devskim VS extension
  2. Open any C# file in Visual Studio
  3. Put the caret on a line of code
  4. Press quick actions shortcut (default shortcuts are Alt + Enter and Ctrl + . )
  5. The first suggestion is not selected

Expected behavior
Using quick actions (lightbulb) shortcut should select the first suggestion automatically

Screenshots

Extension disabled:
image

Extension enabled:
image

Versions(please complete the following information):

  • OS: Windows 10 Pro version 22H2
  • Visual Studio: 2022 Enterprise, version 17.10.3
  • Devskim Extension Version: 1.0.33.40378
@HEGIT-TBL HEGIT-TBL added the bug label Jul 5, 2024
@gfs
Copy link
Contributor

gfs commented Jul 11, 2024

Thanks for the report. I'll try to reproduce and see what may be causing DevSkim to interfere with the default selection here.

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

No branches or pull requests

2 participants