Reputation: 4625
In the Visual Studio Code IDE, when it red squiggle underlines code, how do you pop up the menu to show "Quick Fix" suggestions and choose one of the suggested fixes to apply to your code? Example of underlined code:
Upvotes: 35
Views: 27607
Reputation: 4625
On the Mac, use the Command + . keys to pop up a menu of Quick Fix suggestions.
On Windows, use the Ctrl + . keys.
Then just select the Quick Fix suggestion that you want to apply to your code.
Example on the Mac:
Upvotes: 67