Skip to content

[LS] Add support for code actions #100

Open

Description

Issue To Be Solved

Code actions provide a convenient way for the users to fix issues in their code.

Suggest A Solution

  • Compiler diagnostics (semantic errors) are generally used to figure out and provide code actions
  • Some of the very useful code-actions are:
    • Create variables (when an undefined variable is referred)
    • Change access modifier
    • Add a type cast or conversion function call when there are incompatible types
    • Change variable/parameter/return/field type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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