Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Doesn't seem to work correctly #7

Open
ericblade opened this issue Nov 1, 2016 · 0 comments
Open

Doesn't seem to work correctly #7

ericblade opened this issue Nov 1, 2016 · 0 comments

Comments

@ericblade
Copy link

VSCode 1.6.1, Windows 10 AU

Installed, created a file that I wanted to then use as a template. Right clicked on the file, per the instructions, and the option presented was "Create New File From Template". I selected this, and it tried to create a new file inside the old file, which failed with ENOENT, as I would expect :) So I created a new file inside the templates directory, and then tried right clicking on the directory, and Create New File From Template .. which correctly prompted me for which file to use as a template, and a new filename. That correctly created a file, but it was empty, instead of containing the original template.

Currently, I use snippets to do this sort of thing, which also enables me to include some boilerplate with cursor positioning support.. as a feature request, also, it would be nice if the templates could have something like that as well..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant