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.ts
FirstSecondComponent.html
->first-second/first-seconde.component.html
unittest/FirstSecondComponentTest.ts -> first-second/first-seconde.component.spec.ts
-
FooService.ts -> foo.service.ts
unittest/FooServiceTest.ts -> foo.service.spec.ts
-
FistSecondDirective.ts -> first-seconde.directive.ts
unittest/FistSecondDirectiveTest.ts -> first-seconde.directive.spec.ts
-
FooPipe.ts -> foo.pipe.ts
unittest/FooPipe.ts -> foo.pipe.spec.ts
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 ...