-
Notifications
You must be signed in to change notification settings - Fork 709
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
Add more tools #26
Comments
👍 been using this for jscs and babel-eslint. Can be a lot of work to debug/make rules/tests. Awesome stuff @fkling! |
👍 |
First step is done: The logic is more split up to allow custom transformers (but not custom views yet). |
nice! can't wait to see that |
@jasonLaster: If you go to http://astexplorer.net/, you can now select between "jscodeshift" and "babel". |
We have support for PostCSS now. |
I'm closing this for now, since we have everything that I originally wanted. In the future, we might also want to give more liberty to tools and let them render whatever they want in their panel (i.e. they wouldn't be restricted to just two text input fields). |
There are many more tools besides jscodeshift which could be added to the ast explorer for quick prototyping / testing. For example:
To make adding new tools easy, some refactoring of the client side code and the DB schema is necessary. I already have a proof of concept commit locally but it still needs more tweaking.
The current idea/plan is that "tools" are React components which are rendered below the code editor and ast panel (just like the transform tool now) and which have access to
Tools would also be able to specify which parsers they work together with. They could render whatever interface they need.
The text was updated successfully, but these errors were encountered: