Skip to content

How shall I add Java class file?

I am using Goland IDE to build microservice in Go. If I have to write tests in Java, can Goland IDE support that. I don’t see the support for Java in Goland. But wanted to check with folks who are experienced in Goland.


To create a Java file in GoLand, you need to invoke File | New | File and enter the whole name with an extension, e.g., But keep in mind that GoLand doesn’t offer Java support, so you won’t get syntax highlighting, code completion, and so on. IntelliJ IDEA Ultimate, on the contrary, supports both Java and Go at the same time, so you might want to use it to work with both languages simultaneously.

enter image description here