Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CodeAction

Hierarchy

Index

Properties

changes

changes: FileTextChanges[]

Text changes to apply to each file as part of the code action

Optional commands

If the user accepts the code fix, the editor should send the action back in a applyAction request. This allows the language service to have side effects (e.g. installing dependencies) upon a code fix.

description

description: string

Description of the code action to display in the UI of the editor

Generated using TypeDoc