
The Two-IDE AI Development Workflow: How to Use VS Code for AI Generation and IntelliJ for Engineering
- Mark Kendall
- 4 hours ago
- 4 min read
The Two-IDE AI Development Workflow: How to Use VS Code for AI Generation and IntelliJ for Engineering
Introduction
AI coding assistants are changing how developers build software. Tools integrated into modern editors can now generate entire services, scaffolds, and architecture layers in seconds.
But this raises an important question for engineering teams:
Where should AI generation happen, and where should real engineering happen?
Many developers try to force everything into one IDE. In practice, a more effective pattern is emerging across teams using AI-assisted development.
The solution is a two-IDE workflow.
Developers generate code using AI inside Visual Studio Code, then open the same repository in IntelliJ IDEA to compile, debug, and engineer production-quality applications.
This article explains exactly how to implement this workflow.
What Is the Two-IDE AI Development Workflow?
The Two-IDE workflow separates AI generation from software engineering.
Instead of forcing AI tools and heavy runtime tooling into one environment, each IDE is used for what it does best.
IDE Responsibilities
IDE
Primary Role
AI code generation and rapid scaffolding
Debugging, runtime development, Spring Boot engineering
For Java developers working with Spring Boot, this pattern is especially effective because IntelliJ provides deep framework integration while VS Code provides excellent AI interaction.
The key principle is simple:
The Git repository is the source of truth. Both IDEs operate on the same codebase.
Why This Workflow Works
AI assistants work best in lightweight environments where developers can rapidly iterate on prompts and generate large blocks of code.
VS Code excels at this.
But enterprise engineering tasks require deeper tooling:
• dependency inspection
• debugging
• framework navigation
• performance profiling
That’s where IntelliJ excels.
Instead of forcing one IDE to do everything, this workflow uses both tools intentionally.
Step-by-Step: Implementing the Workflow
Step 1: Create or Clone Your Repository
Start with a normal Git repository.
Example:
cd payment-service
Your repository might look like this:
payment-service
├── pom.xml
├── src
├── README.md
└── architecture
This repository will be used by both IDEs.
Step 2: Open the Repository in VS Code
Launch Visual Studio Code and open the repository folder.
File → Open Folder
Install your AI coding assistant plugin and authenticate your account.
This is where AI interaction happens.
Typical activities in VS Code include:
• generating service scaffolding
• creating controllers
• writing integration adapters
• generating tests
• refactoring code structures
Step 3: Generate the Initial Project Structure
Using your AI assistant, generate the service architecture.
Example prompt:
Generate a Spring Boot microservice with:
- REST controller
- service layer
- repository layer
- DTO models
- validation
- logging
- Dockerfile
- Maven build
- unit tests
The AI tool will produce the initial structure.
Example output:
src/main/java/com/company/service
├── controller
├── service
├── repository
├── model
└── config
At this stage, you are scaffolding the project, not finishing it.
Step 4: Validate the Build Files
Before switching IDEs, verify the build configuration.
For Java projects this usually means checking Apache Maven or Gradle files.
Example:
pom.xml
Confirm:
• dependencies are correct
• Java version is correct
• plugin configuration is valid
This avoids build failures later.
Step 5: Commit the Generated Code
Commit the generated structure to Git.
git add .
git commit -m "Initial AI-generated service scaffold"
This step is important because it establishes a stable baseline before engineering begins.
Step 6: Open the Same Repository in IntelliJ
Now open the same repository in IntelliJ IDEA.
Do not copy files or move code.
Simply open the existing project.
File → Open → payment-service
IntelliJ will detect the Maven or Gradle project automatically.
Step 7: Build and Run the Service
Once the project loads, build and run the service.
Typical Spring Boot run command:
mvn spring-boot:run
Or use the IntelliJ run configuration.
Now IntelliJ becomes the primary environment for:
• debugging
• dependency inspection
• Spring context navigation
• integration testing
Step 8: Continue Development
Development now follows a natural rhythm.
Use VS Code when you want to:
• generate new components
• perform large refactors
• create new services
• experiment with architecture
Use IntelliJ when you want to:
• debug runtime issues
• analyze framework wiring
• tune performance
• run integration tests
Both IDEs operate on the same Git repository.
Best Practices for Teams
To keep this workflow stable across teams, follow a few simple rules.
Rule 1: The Repository Is the Source of Truth
Never maintain separate copies of a project between IDEs.
Both editors should open the same folder.
Rule 2: Use AI for Generation, Not Authority
AI can produce large amounts of code quickly.
But engineers must still verify:
• architecture decisions
• security practices
• dependency management
• runtime behavior
Rule 3: Commit Early
AI-generated scaffolds should be committed early so teams can track changes and review architecture decisions.
Rule 4: Stabilize the Build System
Ensure the project builds consistently using Apache Maven or Gradle before moving to runtime development.
Why This Matters
AI development tools are powerful, but without structure they can quickly create chaos in large codebases.
Separating generation from engineering creates clarity.
Developers gain:
• faster scaffolding
• better debugging
• stronger architecture control
• cleaner repositories
The result is a workflow that combines AI speed with engineering discipline.
Key Takeaways
• Use Visual Studio Code for AI-driven code generation.
• Use IntelliJ IDEA for debugging and runtime engineering.
• Keep a single Git repository as the source of truth.
• Validate Apache Maven or Gradle builds early.
• Commit generated scaffolds before deeper engineering begins.
This workflow allows developers to move quickly without sacrificing the stability required for enterprise systems.
If you want, next I can generate a really strong custom image for the article — something visual that shows:
AI → VS Code → Git Repo → IntelliJ → Running Microservice
Perfect for the Wix article header.
Comments