vscode-file-templates-ext icon indicating copy to clipboard operation
vscode-file-templates-ext copied to clipboard

Bug fix - cannot create new template file with another name

Open ghostduck opened this issue 8 years ago • 1 comments

Fix 2 errors in New Template from File command:

  1. Pressing esc in prompt file name should do nothing now
  2. Whatever you type in the new template file name prompt, it uses the original file name

ghostduck avatar Feb 12 '17 14:02 ghostduck

Just see that the pull request somehow reverted the fix in issue #4.

I use Windows 8.1. Error 2 I mentioned above occurs since it never uses the value from input and uses the original file name instead.

Any thoughts about it? Or do I need to show some console.log() here for you to fix it?

ghostduck avatar Feb 12 '17 23:02 ghostduck