VS Code Extension

Installing the Promptfile VS Code Extension

Promptfile is designed to work seamlessly within Visual Studio Code. Go here to install the Promptfile extension (opens in a new tab).

Accessing Promptfile Settings

Open the Settings by opening the VS Code Command Palette by pressing Command (⌘) + Shift (⇧) + P. Run the Promptfile: open settings command.


promptfile.defaultModelstringDefault model for playground use"gpt-3.5-turbo"
promptfile.openaiKeystringOpenAI API key""
promptfile.functionEndpointstringEndpoint to use for function invocations"http://localhost:7777/function"
promptfile.anthropicKeystringAnthropic API key""
promptfile.githubKeystringGitHub API key""


Promptfile: run in playgroundRuns a .prompt file.
Promptfile: open settingsOpens the .prompt settings in your VS Code settings.json file.
Promptfile: transpile to another languageThis command transpiles .prompt files to the language of your choice.