Refraction
p/refraction
Generate unit tests, create docs and refactor code using AI.
Hayden Bleasel
Refraction for VS Code โ€” Improve your code with AI, without leaving your editor
Featured
6
โ€ข
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.
Replies
Best
Hayden Bleasel
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!
George Novik
@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! ๐Ÿ˜Ž๐Ÿ‘
George Novik
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!
Karan bhansali
@haydeebetances This is great, developers will love it