Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LS] Add support for code actions #100

Open
4 tasks
SupunS opened this issue Jan 15, 2021 · 1 comment
Open
4 tasks

[LS] Add support for code actions #100

SupunS opened this issue Jan 15, 2021 · 1 comment
Labels
Feature Feedback Help Wanted A feature we want the help from community Language Server

Comments

@SupunS
Copy link
Member

SupunS commented Jan 15, 2021

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
@turbolent turbolent removed their assignment Jan 15, 2021
@turbolent turbolent added the Help Wanted A feature we want the help from community label Apr 11, 2023
@turbolent turbolent changed the title Add support for code actions LS: Add support for code actions Apr 11, 2023
@turbolent turbolent transferred this issue from onflow/cadence Apr 11, 2023
@turbolent turbolent changed the title LS: Add support for code actions [LS] Add support for code actions Apr 11, 2023
@sideninja sideninja moved this to 🔖 Ready for Pickup in 🌊 Flow 4D May 3, 2023
@darkdrag00nv2
Copy link
Contributor

Create variables (when an undefined variable is referred)

This seems to be done already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feedback Help Wanted A feature we want the help from community Language Server
Projects
None yet
Development

No branches or pull requests

3 participants