Categories


Authors:
madkite

Olymp Plugin

Products: IntelliJ IDEA, Android Studio

Vendor: Kosenko Roman

Email:

License: http://www.gnu.org/licenses/lgpl.html

Bugtracker page

Generates Main class without dependencies.

This plugin is intended to be used at online contests (competitive programming). It does only one simple thing — adds button to IDEA's toolbar that can generate Main.java in default package using your solution (it integrates all dependencies and eliminates some unused code).

Downloads: 555
Rating:
Participated in rating: 0
Version Compatible builds Date
1.2 90.11169 25.02.2012 Download
2 updates are hidden show all updates

General usage instructions

A lot of sites (like codeforces.com, codechef.com) expect only one file as solution source and ignore traditionally for Java language class/package structure. So we need to integrate all non-standard dependencies (often utility-classes) to one file.
This plugin (when you click magic button) analyzes active file, places (replaces) class Main at default package of current module, copies public class from active file to it, copies all dependent classes those can be found in current project and eliminates unused fields/methods/nested classes. Be careful and don't use classes with the same short names in dependencies or in default package - there are possible conflicts, because package info will be lost during preparing Main class.