Member-only story
If you hate Eclipse, be cautious about the VS Code Coding Pack for Java
VS Code for Java development is better than past but still not good enough

VS Code is faster than IntelliJ, and because of this important reason (at least for me), I usually try to run my real Java project on VS Code, and every time I find the result better than past. This time I tried to run Cloud Native Spring in Action, With Spring Boot and Kubernetes
sample project on VS code.
∘ My VS Code setup
∘ What was the problem?
∘ Problem root
∘ What is the quick solution?
∘ What is the permanent solution?
· Conclusion
My VS Code setup
The most important thing in VS Code is its extensions. I installed the following extensions for my development:
What was the problem?
When I tried to run BookRepositoryJdbcTests
in the catalog-service
microservice (chapter 7) using Test Runner for Java extension in VS Code, I got the following error:
java.lang.IllegalStateException: For queries with named parameters you need to provide names for method parameters. Use @Param for query method parameters, or when on Java…