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 Request]: Support more complex refactors for CLS #24748

Open
jabraham17 opened this issue Apr 2, 2024 · 0 comments
Open

[Feature Request]: Support more complex refactors for CLS #24748

jabraham17 opened this issue Apr 2, 2024 · 0 comments
Labels
area: Python bindings For things related to chapel-py, chpl-language-server, chplcheck, etc. area: Tools type: Feature Request

Comments

@jabraham17
Copy link
Member

We should be able to support more types of automatic refactors for CLS. Currently we support renaming variables and resolving some deprecations.

For example, when writing Python code I can factor out an expression out as a variable
Screenshot 2024-04-02 at 11 58 44 AM

Some ideas for possible refactors

  • factor an expression out to a new variable/constant
  • factor a block of code out into a new function
@jabraham17 jabraham17 added type: Feature Request area: Tools area: Python bindings For things related to chapel-py, chpl-language-server, chplcheck, etc. labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Python bindings For things related to chapel-py, chpl-language-server, chplcheck, etc. area: Tools type: Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant