Category: Java
-
Active spring profile for testing in VSCode
When you need to set active spring profile for testing in VSCode just add the following lines: to .vscode/settings.json file. In that way your Spring will take config from src/test/resources/application-text.yml file.
-
Java Lombok methods not visible in VSCode
I got a problem with Java Lombok methods being not visible in VSCode, for instance: I fixed it by clicking on the {} icon in the lower right side of Visual Studio Code screen: then chose Configure Version just aside lombok with library version and then “Use Project’s Version” instead of “Use Extension’s Version” This…