Reactify TSXReactify TSX is a VS Code extension that streamlines common React and TypeScript refactors. It automates event handler extraction and lets you convert functions between declarations, expressions, and arrows while preserving bodies, modifiers, and type information as much as possible. Feature Index
Commands & Keybindings
All commands are available from the editor context menu and refactor sub-menu when editing JavaScript or TypeScript (including React variants). Function Transformation OptionsWhen you invoke Transform Function the extension analyses the selection and offers only the transformations that are valid in that context. Depending on the conversion it may ask for an explicit function name and will suggest a placeholder if one cannot be inferred. If you accept the placeholder, the generated code is annotated with Warnings & Annotations
DevelopmentInstall dependencies and build artifacts:
TestingCompile the tests, run the automated suite, and lint the sources:
The automated tests cover the transformation planner and verify that extension commands are registered. Release Notes
Enjoy using Reactify TSX! Feel free to file issues or feature requests to help shape future iterations. |