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

Add Quick Fix code actions to Entity Model Definition File validations #4088

Closed
niveathika opened this issue Feb 15, 2023 · 3 comments
Closed
Assignees
Labels
module/persist Team/DIU Data, IO, and Util packages related issues Type/NewFeature

Comments

@niveathika
Copy link
Contributor

Description:
Screenshot 2023-02-15 at 14 31 53

Usability is much improved if we add a Quick fix in the above scenario to remove import prefix.

Likewise, all other validations can be improved by suggesting suitable fixes.

@niveathika
Copy link
Contributor Author

Possible code actions are documented in https://docs.google.com/spreadsheets/d/1GIQJ_34AkFF0pmfGnUGPh78KwWkM_U8rYpPy17xiDiM/edit#gid=15982427

PR with the above code actions can be found in ballerina-platform/module-ballerina-persist#139

@niveathika
Copy link
Contributor Author

Improvements that can be done on top of the above is,

  1. Remove import prefix -> Rename all prefix related types
  2. Add supported types -> Include time related types

@niveathika
Copy link
Contributor Author

Closing this issue as improvements are tracked in #4151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/persist Team/DIU Data, IO, and Util packages related issues Type/NewFeature
Projects
Archived in project
Development

No branches or pull requests

1 participant