Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GPT TemplateNew to Visual Studio Code? Get it now.
GPT Template

GPT Template

Polymer Mallard

|
293 installs
| (1) | Free
Creates a new file using an existing one as a template.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GPT Template

Visual Studio Marketplace Version Visual Studio Marketplace Installs Backers on Patreon Backers on Paypal

Creates a new file using an existing one as a template.

Example

Usage

Right click a file in the tree explorer and select "Generate using this as template." OR open a file, press Cmd+P, search for "Generate using this as template."

You will be prompted for what you want to create. An example might be "Create a database migration for UserDetail using key value fields."

Configuration

It currently only requires an OpenAI API token to applied to:

	"gpt-template.token": "sk-qkjKAcpQTPGKLEkFfvDbT3BlbkFJ...",

Release Notes

0.3.0

  • Ability to cancel active generations (in status bar)
  • Open new file if nothing is open
  • Write to existing file if it's empty
  • Optionally save to relative path

0.2.0

  • Update app icon
  • Add GPT streaming
  • Update example GIF
  • Use Settings class

0.1.0

Initial release

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