stkb / Rewrap

Rewrap extension for VSCode and Visual Studio
https://marketplace.visualstudio.com/items/stkb.rewrap
Other
506 stars 62 forks source link

Invoking Rewrap from outside of VS Code: to run as a linter? #351

Closed peter-lyons-kehl closed 1 year ago

peter-lyons-kehl commented 1 year ago

Hi Steve,

Thank you for Rewrap. So practical.

How feasible would it be to refactor Rewrap, so that it could be invoked from outside VS Code (from a shell)? (I see core/, so I believe you intended it so, but I haven't worked with Typescript). Then it could be used for linting from continuous integration. Whatever easiest (I don't know if node.js can run Typescript, or what other mainstream headless engines/alternatives there are).

As per the 20%/80% rule (80% of results or use cases can be achieved/handled with 20% of effort): The easiest possible combination of OS/Typescript engine would bring most benefits. (If some folks want to invoke it locally on Windows, Mac OS or esoteric distributions or kernels, it's up to them. But most people would be very glad with the mainstream.)

Thank you in advance for considering.

peter-lyons-kehl commented 1 year ago

Anyone seeing this: Please vote for #328. Thank you in advance.