Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>InsertTemplateNew to Visual Studio Code? Get it now.
InsertTemplate

InsertTemplate

yskoht

|
126 installs
| (0) | Free
Insert the template file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-insert-template

Features

Insert template file in active file.

Demo

Choose Insert Template from the Command Palette (Cmd + Shift + P). And select your template file name.

Extension Settings

"insertTemplate.directory": {
	"type": "string",
	"default": "~/.vscode-templates",
	"description": "Search directory for template files"
},
"insertTemplate.ignore": {
	"type": ["array", "null"],
	"default": null,
	"description": "An array of glob patterns to exclude matches"
}

Setting Examples

settings.json

"insertTemplate.directory": "~/prg/competitive-programming",
"insertTemplate.ignore": ["**/*.md", "**/tmp/**"]

Assign Key Binding

keybindings.json

  {
    "key": "ctrl+shift+i",
    "command": "extension.insertTemplate"
  },

License

This software is released under the MIT License, see LICENSE.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft