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

[Feature][Track] Support refactor tool #710

Closed
amyXia1994 opened this issue Sep 13, 2023 · 2 comments
Closed

[Feature][Track] Support refactor tool #710

amyXia1994 opened this issue Sep 13, 2023 · 2 comments
Assignees
Labels
tool Issues or PRs related to kcl tools inlucding format, lint, validation, document tools, etc. track

Comments

@amyXia1994
Copy link
Contributor

Feature Request

Is your feature request related to a problem? Please describe:

KCL users need refactor tool during:

  • daily code improving: rename variables and extract the common logics to make the KCL code more readable and more maintainable.
  • KCL schema migration: rename schemas to quickly migrate KCL configs from old schemas

Describe the feature you'd like:

KCL provide refactor tool to:

  • Rename: rename variables, schemas, and attributes.
  • Remove Duplication: Identify duplicate code blocks and extract them into reusable variables or schemas

Describe alternatives you've considered:

The code-duplication detect could also be checked and fixed by lint tool.

Teachability, Documentation, Adoption, Migration Strategy:

@Peefy Peefy added this to the v0.7.0 Release milestone Sep 13, 2023
@amyXia1994
Copy link
Contributor Author

amyXia1994 commented Sep 14, 2023

The support of the refactoring tool mainly contains several parts:

@amyXia1994 amyXia1994 changed the title [Feature Request] Support refactor tool [Feature] Support refactor tool Sep 14, 2023
@Peefy Peefy added this to KCL 2023 Sep 18, 2023
@Peefy Peefy moved this to Backlog in KCL 2023 Sep 18, 2023
@Peefy Peefy changed the title [Feature] Support refactor tool [Feature][Track] Support refactor tool Oct 9, 2023
@Peefy Peefy added tool Issues or PRs related to kcl tools inlucding format, lint, validation, document tools, etc. track labels Oct 9, 2023
@amyXia1994
Copy link
Contributor Author

refactor on packages/... could be tracked in new issues

@github-project-automation github-project-automation bot moved this from Backlog to v0.7.0 Release Done in KCL 2023 Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tool Issues or PRs related to kcl tools inlucding format, lint, validation, document tools, etc. track
Projects
No open projects
Status: v0.7.0 Release Done
Development

No branches or pull requests

2 participants