0

I am using spring-boot for building my application in my organization. While going through some of the tutorial videos on spring-boot, I have seen the tutor opening the source code files by typing ctrl+shift+N from a sample project in IntelliJ Idea.

I am using spring-boot and maven with STS.

I can open the source code in STS by doing F3 on the class name and not by CTRL+SHIFT+R. I want to open these files in STS by shortcuts like the person in the video did on IntelliJ. The source jars are already downloaded from maven central.

Anything I can do in STS to achieve this?

Ganesh Hoolageri
  • 135
  • 1
  • 1
  • 9
  • Control + click on the class name? Or in Mac command + click – Perimosh May 26 '19 at 03:45
  • That I can open via F3. I am talking about the class that I have not used in my code. Some random file present in some spring boot jar, could be some txt file or any other file. – Ganesh Hoolageri May 26 '19 at 09:08
  • Mmh I am still confused. Anyway, for classes you should use control + shift+ T. T of type. R is for resources, like properties file and other. – Perimosh May 26 '19 at 13:07
  • I don’t think you understand. Try opening spring.factories present in spring-boot-autoconfigure.jar. – Ganesh Hoolageri May 26 '19 at 14:47
  • In your second comment you said "class I have not used". I don't think spring.factories is a class. That is why I told you to use control+shift+T. Anyway now I understand and I don't know how to do that. What is your use case? Maybe if I understand it I can help in some other way – Perimosh May 26 '19 at 14:58

0 Answers0