Open .java file for .class file

Add this URL to your Eclipse Installation to reach this solution's update site.

2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)

https://sandipchitale.github.io/odjfdc/OpenDotJavaForDotClassUpdateSite/site.xml

Learn more...
Solution Description

A simple Eclipse plugin to open .java file for a .class file, if the .java file is present in one of the open Java projects in Eclipse workspace.

How does it work ?

Monitors the opening of a .class editor. Then uses the JDT Java search mechanism to locate the corresponding .java file in any of the Java projects in the Eclipse workspace. It also tries to move the caret to the same offset as .class editor in .java file. By default closes the .class file, however by setting a preference you can opt-in to not close the .class file. The key aspect is that the projects may not even be related via project dependencies. The association of source folder with the .jar file containing the .class file is required for this to work.

Categories: Editor

Additional Details

Eclipse Versions: 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Sandip Chitale

Development Status: Beta

Date Created: Saturday, March 2, 2019 - 22:28

License: BSD

Date Updated: Friday, January 15, 2021 - 10:13

Submitted by: SANDIP CHITALE

Screenshot
Date Ranking Installs Clickthroughs
April 2024 226/683 76 6
March 2024 227/694 95 7
February 2024 234/687 77 4
January 2024 246/691 74 10
December 2023 262/671 59 8
November 2023 249/686 77 3
October 2023 214/673 116 9
September 2023 194/663 127 6
August 2023 180/673 133 4
July 2023 180/668 147 3
June 2023 184/669 140 4
May 2023 183/671 151 2
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for Open .java file for .class file.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client