Skip to content
| Marketplace
Sign in
Visual Studio Code>Testing>RefractionNew to Visual Studio Code? Get it now.

Refraction

Hayden Bleasel

haydenbleasel.com
|
502 installs
| (2) | Free
Learn, improve and generate code with AI
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Refraction plugin for VS Code

A VS Code extension for Refraction. Learn, improve and generate code with AI.

Demo

Installation

  1. Install the extension from the VSCode Marketplace or with the terminal command code --install-extension haydenbleasel.refraction.
  2. Get your User ID from your Refraction dashboard.
  3. Open the VS Code extension settings and enter your User ID (see screenshot below).
  4. Reload VSCode to apply the changes and start using the extension.

Settings

Usage

  1. Open a file in VSCode.
  2. Select some code.
  3. Open the command palette (Ctrl+Shift+P on Windows/Linux, Cmd+Shift+P on Mac) and type Refraction.
  4. Select the command you want to run e.g. "Generate unit tests"
  5. Refraction will generate the code and insert it into your file.

Editor

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft