I am writing Junits for the Java files in my projects. (call it A.java) IntelliJ is actually linking the A.class when I am navigating to the code. Because of this, As and when I change source code in A.java, i have to build the code so that it reflects in A.class, and then update the tests. Is there a way to link IntelliJ directly to source path.
I already tried but issue was not solved: IntelliJ shows decompiled .class file instead of source code
IntelliJ Version: 2021.IntelliJ IDEA 2021.1.2 (Ultimate Edition)