Community
Participate
Working Groups
If I hit ctrl-shift-t to open type, and then type in CTIM, I end up with one name selected. In the bottom view, there are two entries. One for the class file and one for the source file. The one for the class file is selected by default. My output files are put under dest\classes and the source is under src (so it appears to be alphabetically sorted). This means that if I hit ok, it will select the class file and fail since the class file is not in my classpath. Please let me know if I can provide any additional information. Thanks.
Actually, I ctrl-shift-t did not open the type. This appears to be a bug. I had to use the menu option. I will file the another bug for the keyboard shortcut.
Jacob, I assume there is something wrong with your setup. The open type dialog only presents types that are on the build path. If you create a single project P with a CU A.java in it and open the Open Type dialog you should only see A.java not A.class. Is this the case ? I assume that somehow both the CU and the class file in on your build path. (context menu for project -> Properties -> Java Build Path.
Thank You! That was the problem. I had included the output folder from one project into another project. Once I removed this, things started working much better. Also, the keyboard shortcut for open type started to work. Bug: 37402
Setup problem.