Create files with .template extension. So for example if you create file {{componentName}}.ts.template it will resolve to {{componentName}}.ts in component folder.
Write your actuall component code in .template files. You can use {{componentName}} inside of the files as like in step 3 to use your actuall component name in template.
Right click on target folder and use Create component label, after that input will appear on the top, type your component name and press enter. Everything you marked as {{componentName}} will be replaced with input value.