Product Hunt logo dark
  • Launches
    Coming soon
    Upcoming launches to watch
    Launch archive
    Most-loved launches by the community
    Launch Guide
    Checklists and pro tips for launching
  • Products
  • News
    Newsletter
    The best of Product Hunt, every day
    Stories
    Tech news, interviews, and tips from makers
    Changelog
    New Product Hunt features and releases
  • Forums
    Forums
    Ask questions, find support, and connect
    Streaks
    The most active community members
    Events
    Meet others online and in-person
  • Advertise
Subscribe
Sign in
Subscribe
Sign in
Refraction

Refraction

Generate unit tests, create docs and refactor code using AI.

4.8
•5 reviews•

141 followers

Generate unit tests, create docs and refactor code using AI.

4.8
•5 reviews•

141 followers

Visit website
Testing and QA software
Generate unit tests, refactor code and create inline documentation using AI for C#, C++, Go, Java, JavaScript, PHP, Python, R Lang, Ruby, Swift and Typescript code. Simply paste a block of code, choose your language and framework, then hit "Generate" to witness magic.
  • Overview
  • Launches2
  • Reviews5
  • Alternatives
  • Team
  • More
Company Info
refraction.dev
Refraction Info
Launched in 2023View 2 launches
Forum
p/refraction
  • Blog
  • •
  • Newsletter
  • •
  • Questions
  • •
  • Forums
  • •
  • Product Categories
  • •
  • Apps
  • •
  • About
  • •
  • FAQ
  • •
  • Terms
  • •
  • Privacy and Cookies
  • •
  • X.com
  • •
  • Facebook
  • •
  • Instagram
  • •
  • LinkedIn
  • •
  • YouTube
  • •
  • Advertise
© 2025 Product Hunt

Similar Products

DeepUnit
DeepUnit
Generate verified unit tests with AI
5.0(2 reviews)
AI Coding AssistantsTesting and QA software
TestGenAI
TestGenAI
Generate your PHP tests in seconds with a click
CaseIt
CaseIt
Generate Unit Tests in Seconds
bashunit
bashunit
test, bash, script, unit, framework, library, tdd, shell
5.0(1 review)
Automation toolsTesting and QA software
This is the 2nd launch from Refraction. View more
Refraction for VS Code

Refraction for VS Code

Improve your code with AI, without leaving your editor
Use Refraction to detect bugs, add debug statements, create documentation, separate hardcoded literals, refactor code, style check, generate unit tests, and add types, all within your editor.
Refraction for VS Code gallery image
Refraction for VS Code gallery image
Refraction for VS Code gallery image
Refraction for VS Code gallery image
Refraction for VS Code gallery image
Refraction for VS Code gallery image
Free Options
Launch tags:
Productivity•Text Editors•Software Engineering
Launch Team
Hayden Bleasel

What do you think? …

Hayden Bleasel
Hayden Bleasel
Vercel

Vercel

Maker
📌
Hey Product Hunt folks! I'm excited to share Refraction for VS Code, an extension that helps you improve and refactor code using AI, without leaving your editor. It uses the Refraction (https://www.refraction.dev/) API to bring the following commands to VS Code: 🐞 Detect bugs: Optimize your code to use better, more modern practices. 💬 Add debug statements: Add debug statements to your code to make it easier to understand. 📕 Create documentation: Add inline documentation to your code to make it easier to understand. 👌 Separate hardcoded literals: Move any hardcoded strings or numbers in your code into variables. 💫 Refactor code: Optimize your code to use better, more modern practices. 🎨 Style check: Check your code for style issues and suggest fixes. 🧪 Generate unit tests: Turn source code into unit tests for your framework of choice. 🔠 Add types: Add types to your code to make it easier to understand. Check it out and let us know what you think! Have a favorite framework or language that isn't listed? Let me know!
Report
2yr ago
George Novik
George Novik
Zerocoder

Zerocoder

@haydenbleasel Wow, Refraction for VS Code sounds like a lifesaver for developers! Can't wait to try out those AI-powered commands and streamline my workflow. Great job, team! 😎👍
Report
2yr ago
Christopher Garcia
Christopher Garcia
@haydenbleasel Great job Hayden! 🔥🔥🔥
Report
2yr ago
Carter Wang
Carter Wang
Aihotdeal

Aihotdeal

@haydenbleasel Really impressive idea! Would it be okay to include your product in my directory (producthunt.com/products/wikiaitools)? Check it out and let me know!
Report
2yr ago
George Novik
George Novik
Zerocoder

Zerocoder

This is amazing! Refraction for VS Code has made coding so much easier for me. I love how I can now refactor my code, detect bugs, and add debug statements on the spot. Highly recommend it!
Report
2yr ago
Karan bhansali
Karan bhansali
@haydeebetances This is great, developers will love it
Report
2yr ago
Top Product
AutoForm
AutoForm — Automate the busywork from your files and your tools.
Automate the busywork from your files and your tools.
Promoted

Refraction Launches

Refraction for VS Code
Refraction for VS Code Improve your code with AI, without leaving your editor

Launched on March 20th, 2023

Do you use Refraction?

4.8
Based on 5 reviews
Review Refraction?
Reviews
Helpful

You might also like

DeepUnit
DeepUnit
Generate verified unit tests with AI
TestGenAI
TestGenAI
Generate your PHP tests in seconds with a click
CaseIt
CaseIt
Generate Unit Tests in Seconds
bashunit
bashunit
test, bash, script, unit, framework, library, tdd, shell
View more
Martin Patino
Martin Patino
•1 review
This is a great tool for basic code test. I freaking love it
Report
2yr ago
João Teixeira
João Teixeira
•1 review
Great. I like a lote this product
Report
2yr ago
Ciência dos Dados
Ciência dos Dados
•1 review
Amazing
Report
2yr ago