-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for placeholders in templates #1
Comments
This is the only feature that I miss in this ext, otherwise it is perfect |
Do you have an example of how you would use it and what it would render? So I can understand what you mean exactly |
What I understand right now is basically having some arbitrary variables inside the template that you would be prompted for when creating a file from the template
Where |
What you proposed would solve my use-case, but I think that better would be to fill the additional variables in-context, so after the file is created. What I am looking for is a behavior more akin to the vscode snippets - you add placeholders ( |
Ok I see better what you mean, although tbh I have absolutely no idea how to do this with the VSCode API. I'll try something out, that might be a better UX than what we currently have. In the meantime I believe we have a usable solution to the problem, which was something that I had in the back of my mind for a while |
Just noticed this is actually already implemented in the vscode snippets out of the box |
Add support placeholders, like it is done in built-in code snippets. The idea is such that you will be guided through filling in additional variables after creating a file from the template, like after inserting a snippet. Would submit a PR myself, but I am not at all familiar with writing vscode extensions 😢
The text was updated successfully, but these errors were encountered: