NG Refactor
Table of contentsGoalsI have struggled way too many hours refactoring components by hand, it's enough and I thought this could make a few of you guys happier developpers. FeaturesToggle inline HTMLAllow to toggle between inline template and external template file. Available as :
Toggle inline CSSAllow to toggle between inline styles and external style sheet. Available as :
Known limitationsAs of know this doesn't take into account your configuration and will create and try to read from ~~Rename component~~ (todo)Allow to rename a component and its usage. ~~Move component~~ (todo)Allow to move a component from one folder to another. ~~Extract component from current selection~~ (todo)Allow to create a new component from the current html selection. ~~Ng generate explorer integrations~~ (todo)Allow you to call ContributingDon't hesitate to file an issue if you found a bug or want to see a feature implemented ! Hacking on NG RefactorNG refactor is developped in typescript and uses jest for testing, it has currently no dependencies.
Once the typescript compiler is watching, simply press F5 to open the Extension Development Host and you're good to go. |