Skip to content

feat: remove arrow function braces#2

Merged
justYu2001 merged 4 commits intomainfrom
feat/remove-arrow-function-braces
Jan 2, 2026
Merged

feat: remove arrow function braces#2
justYu2001 merged 4 commits intomainfrom
feat/remove-arrow-function-braces

Conversation

@justYu2001
Copy link
Copy Markdown
Owner

@justYu2001 justYu2001 commented Jan 2, 2026

📃 Summary

  • Implemented the 'Remove braces around arrow function body' code action.
  • Set up tree-sitter-cli for testing in the CI workflow
  • Remove versions prior to v0.11 from the CI test matrix.

📸 Preview

2026-01-02.8.29.01.mov

Adds code action to remove braces from arrow functions with single return statements.

- New refactor module for arrow function transformations
- Code action integration with LSP
- Plugin command registration
- Documentation and examples
- Test cases for various arrow function scenarios
- Test infrastructure with tree-sitter parser setup
- Makefile test target
Install tree-sitter-cli in CI workflow for parser compilation
@justYu2001 justYu2001 merged commit cb9a142 into main Jan 2, 2026
5 checks passed
@justYu2001 justYu2001 changed the title Feat/remove arrow function braces feat: remove arrow function braces Jan 2, 2026
@justYu2001 justYu2001 deleted the feat/remove-arrow-function-braces branch January 2, 2026 12:32
justYu2001 added a commit that referenced this pull request Jan 2, 2026
* feat: remove arrow function braces

Adds code action to remove braces from arrow functions with single
return statements.

- New refactor module for arrow function transformations
- Code action integration with LSP
- Plugin command registration
- Documentation and examples

* test: add tests for arrow function braces removal

- Test cases for various arrow function scenarios
- Test infrastructure with tree-sitter parser setup
- Makefile test target

* ci: setup tree-sitter-cli for tests

Install tree-sitter-cli in CI workflow for parser compilation

* chore: update example
This was referenced Jan 2, 2026
justYu2001 added a commit that referenced this pull request Jan 3, 2026
* feat: remove arrow function braces

Adds code action to remove braces from arrow functions with single
return statements.

- New refactor module for arrow function transformations
- Code action integration with LSP
- Plugin command registration
- Documentation and examples

* test: add tests for arrow function braces removal

- Test cases for various arrow function scenarios
- Test infrastructure with tree-sitter parser setup
- Makefile test target

* ci: setup tree-sitter-cli for tests

Install tree-sitter-cli in CI workflow for parser compilation

* chore: update example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant