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

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

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

| |