Code Actions
Summary
Code actions are contextual operations that can be used either in JetBrains or VS Code plugins to trigger an action in the scope of a method or function.
Those actions include:
Editing code with prompt.
Replacing or generating code.
Replacing or generating documentation.
Fixing code syntax.
Using Code Actions in Visual Studio Code
The Code Actions are available per function or method code as quick-fix actions that can be either accessed by clicking on the light bulb icon or by pressing the "show quick fixes" keyboard shortcut (⌘CMD + .(dot) on macOS).

Using Code Actions in JetBrains
The Code Actions are available per function or method code as quick-fix actions that can be either accessed by clicking on the light bulb icon or by pressing Option+Enter on macOS.

Last updated