This extension is used to rename files from Angularjs to Angular with the right naming convention.
Currently it support naming component, service, directive, pipe.
-
FirstSecondComponent.ts->first-second/first-seconde.component.tsFirstSecondComponent.html->first-second/first-seconde.component.htmlunittest/FirstSecondComponentTest.ts -> first-second/first-seconde.component.spec.ts -
FooService.ts -> foo.service.tsunittest/FooServiceTest.ts -> foo.service.spec.ts -
FistSecondDirective.ts -> first-seconde.directive.tsunittest/FistSecondDirectiveTest.ts -> first-seconde.directive.spec.ts -
FooPipe.ts -> foo.pipe.tsunittest/FooPipe.ts -> foo.pipe.spec.ts
-
In command palette, there will be cmdWith cmd, with
ctrl+shift+pto open the command palette Rename active file example -
In file explorer, run with menu Rename selected file example
You have to connect to perforce first, and make sure 'p4' cmd work.
You have to install vsce first
$ npm install -g vsce
$ vsce package
No settings so far
The extension is not clever enough to resolve all imported paths, you may need to resolve it by you self.
Initial release of ...