Categories


Authors:
hkarakose
Apache

Classpath Complete

Products: IntelliJ IDEA

Vendor: BilgiTurk

Email:

Website: N/A

SourceCode: Classpath_Complete_1214.zip

Description:

You don't have to remember which jar file contains which class file any more. This plugin searches all the jar files and their contents on the computer. This process actually takes 4-5 minutes depending on the storage capacity of the your computer. The plugin can add needed jar files to the classpath of the working module automatically using this information.
Bye bye "cannot resolve symbol" or "ClassNotFoundException" errors:).
This is a beta version.
Downloads: 7912
Rating:
Participated in rating: 1
Version Since Build Until Build File/URL Size (Kb) Date Details
0.22. 50.4000. . Download 230.35 2006-11-19 22:44:21 details
. .
3 updates are hidden show all updates

Recent change notes:

You don't have to remember which jar file contains which class file any more. This plugin searches all the jar files and their contents on the computer. This process actually takes 4-5 minutes depending on the storage capacity of the your computer. The plugin can add needed jar files to the classpath of the working module automatically using this information.
Bye bye "cannot resolve symbol" or "ClassNotFoundException" errors:).
This is a beta version. "Find Class" dialog box doesn't block any more while searching classes inside the jar files.

General usage instructions:

ClassPath Complete:


There are plety of jar files around that a java developer should be aware of. Sometimes, we need some classes but we may not know which jar files contain these classes. In the build process, if the jar files does not exist in the classpath of java projects, the compiler throws "cannot resolve symbol" errors for classes which cannot be found in the classpath. My plugin comes into play in this situation.

What the plugin does:


The plugin finds all the jar files on all of the drives of the computer. Then it finds the classes inside the jar files. The information is saved in the application\'s configuration file. This process takes a few minutes. But, this process needs to be done only once by clicking "Settings/Classpath Complete/Search Computer" button.

After jar search is complete, the missing jars can be added to the module by clicking "Build/Add Missing Jars to Classpath". This action starts a build process immediately, and the plugin adds the first jar file which contains the class. There is a possibility that different jar files may contain the class but this case is ignored for this version of the plugin.


Future Work:



  • Automatic Detection of Missing Jars: As we import classes in our java files using ALT + ENTER, we will be able to both add the needed jar to the classpath and import the class in our java file with the same shortcut.

  • Ask the user which jar to import: Some classes may be found inside multiple files. In this case, it is better to let the user select which jar to add to the classpath of the module through a dialog box.

  • Automatic Insertion of import statements: After adding appropriate jar files to the classpath of the module, the corresponding import statements can be added to the .java source file automatically. Currently the user has to add it by pressing ALT+ENTER.

  • Search through web: If a class is not found in the jar files that exist on the user\'s disk, the jar file containing the class file will be searched on the web with the colloboration of jarsearch.com.

  • Jar Explorer: It would be nice if a jar browser is added to the plugin. The explorer should provide regular expression based search through the jar database.

Comments:

froop
2014-07-09 11:21:04
you don't need a plugin to find jars try find . -name '*.jar' -print | xargs grep ''
.
Anonymous
Rated:
2006-11-08 14:46:30
.