简体   繁体   中英

How to go into a class in eclipse?

This is how my current file looks. Is there a command or shortcut to go to the actual Java file of crud repository? (I wanna see what that class looks like) I tried hovering over it but crud repository wasn't clickable.

在此输入图像描述

You can do that by holding ctrl and clicking on it.

Seems you are just starting with Eclipse IDE. Have a look .

  • Hold Ctrl and Click on the Class Name
  • If you get error as "Source not found"
  • Use "Attach Source" button to add the source zip or folder.

ctrl-click on the name, you need the sorce of the file or you will see a decompiled version of the class

for open source project, or where you can get sources, you can add the jar of the sources or a folder to the library definition

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM