AI-powered inline refactoring assistant for Java JUnit test cases in Visual Studio Code.
This extension automatically detects completed JUnit test methods, sends them to an AI backend for analysis, and displays an inline refactoring preview. Developers can review the generated code before deciding whether to apply or discard the suggestion.
✨ Features
🤖 AI-powered JUnit test refactoring
⚡ Automatic detection of completed @Test methods
👀 Inline preview of generated refactored code
✅ One-click Apply
❌ One-click Discard
🎨 Visual highlighting of original and suggested code
🔌 Connects to any compatible REST AI backend
How it Works
Write a Java JUnit test.
Finish the method by typing the closing }.
The extension automatically:
Detects the completed test method
Sends it to the configured AI backend
Receives a refactoring suggestion
A preview appears directly below the original code.