Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Sora by Capsule CatNew to Visual Studio Code? Get it now.
Sora by Capsule Cat

Sora by Capsule Cat

Capsule Cat

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

Sora by Capsule Cat

Push Check VSCode Marketplace

Sora is a VSCode extension for integrating OpenAI into your coding workflow.

Simply type a comment and then add @OpenAI to trigger the extension. Sora will generate code based on the prompt given.

Remember to get your OpenAI API Key and add it to your VSCode settings with the command Sora: Set API Key.

Features

Once your API key is set, you can use Sora one of two ways:

  • Hovering over a comment and clicking the OpenAI button.
  • Typing a comment and then adding @OpenAI to the end of the comment.

Using the OpenAI button

This is the easiest way to use Sora. Simply hover over a comment and click the OpenAI button:

Simple Sora hover example

Using @OpenAI

Typing @OpenAI is the trigger keyword for Sora:

Simple Sora example

Example:

/**
 * Write "Hello world" to console.
 * @OpenAI
 */

Response:

/**
 * Write "Hello world" to console.
 * @OpenAI
 */
console.log("Hello world");

Referencing files

You can reference a file in a comment and have Sora generate code based on the contents of that file:

/**
 * Write tests for [my-file.ts](https://github.com/CapsuleCat/sora-by-capsule-cat/blob/HEAD/my-file.ts) using [example-test](https://github.com/CapsuleCat/sora-by-capsule-cat/blob/HEAD/../other/example-file.test.ts) as a reference.
 *
 * @OpenAI
 */

Requirements

Set your OpenAI API key once you install the extension.

Extension Settings

This extension contributes the following settings:

  • sora-by-capsule-cat.apiKey: The API key for OpenAI

Development

This extension was developed using the VSCode Extension Generator. This requires @vscode/vsce to be installed globally:

npm install -g @vscode/vsce

Then use vsce publish to package and deploy the extension.

A full order of commands typically looks like:

npm version [major|minor|patch]
vsce publish
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft