vscode-template
vscode-template copied to clipboard
Can you add an option to set the template path?
Could set a new choice let user set template path in user variable path, like ~/.vscode/.template , rather than in every project root path?
sorry my english is poor
Hi @jzsn2018,
You can set .template directory path
step
- move(or create)
.templatedirectory(e.g.~project/.vscode/.template) - set
templateRootPathintemplate.config.js
...
module.exports = {
// You can change the template path to another path
templateRootPath: "./.vscode/.templates", // <-- here is replace "./.templates" with "./.vscode/.templates"
...
...
Please let me know if I'm misunderstanding your question
Thanks 😀
thanks your reply~.
This may be a bit different from what I think, I hope that the global maintenance is in one place in the global situation, and there is no need to create a template.config.js file in the root directory of any project.