vscode-javascript-booster icon indicating copy to clipboard operation
vscode-javascript-booster copied to clipboard

Feature request: custom codemods

Open miklos-eiq opened this issue 5 years ago • 1 comments
trafficstars

Would it be possible to specify local, project specific codemods, that this extension can pick up? Like a plugin system.

This would be very useful for incremental migration, where a big change cannot be done in a single PR, or a single codemod can't transform the whole codebase, because a developer needs to make the change one-by-one. I think many projects are stuck with an inferior api, because the migration for a better design would be too much work. This is a great extension, it would be quite impactful with a plugin ecosystem around it!

miklos-eiq avatar Jul 30 '20 15:07 miklos-eiq

I was thinking of the same thing, since I want to make mods specific to ReactNative, but only a small percentage will be interested in what I do.

I'm thinking of monkey-patching in the meanwhile.... maybe add codemods to codemod this plugin? ;)

tomByrer avatar Oct 26 '20 00:10 tomByrer