Skip to content

Have a keyboard shortcut for the yellow bulb options (help) #644

Closed

Description

@CarlosTorrecillas

Environment data

dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-003121)

Product Information:
Version: 1.0.0-preview2-003121
Commit SHA-1 hash: 1e9d529bc5

Runtime Environment:
OS Name: Mac OS X
OS Version: 10.11
OS Platform: Darwin
RID: osx.10.11-x64
VS Code version: 1.4.1
C# Extension version: 1.3.0

Steps to reproduce

  • Get a line of code to get the yellow bulb for suggestions
  • Click the yellow bulb

Expected behavior

  • Something like Alt+ Enter or something similar would be useful to show the suggestions/options instead of having to click

Actual behavior

  • You need to click the yellow bulb to get the suggestions

Activity

  1. Souk21 commented on Aug 9, 2016

    @Souk21

    Just add this to your keyboard shortcuts:

    {
        "key": "alt+enter",
        "command": "editor.action.quickFix",
        "when": "editorTextFocus"
    },
    
  2. CarlosTorrecillas commented on Aug 9, 2016

    @CarlosTorrecillas
    Author

    Awesome, thanks!

  3. johanneskopf commented on Aug 13, 2016

    @johanneskopf

    Strg + "." (Period)
    is already doing this.

  4. DustinCampbell commented on Aug 26, 2016

    @DustinCampbell
    Member

    Looks like this has resolved itself. 😄

    FWIW, this is really an ask for VS Code, not for the C# Extension in VS Code. That said, there is already a keyboard shortcut, and it's easy to add your own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions