Code Actions
Last updated
Last updated
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.
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).
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.