OneInstance plugin: version 1.2 released


OneInstance
Description
Target of this plugin - is make available to use IntelliJ like a notepad assotiated with txt files. For simplicity sake, just open files in IntelliJ for editing from outside (from Windows Explorer or other file manager by double clicking on file). Plugin starts with IntelliJ and listen incoming events. If you try run one more instance plugin disable it. So you can use IntelliJ as editor application for java files. Now you can open files not from IntelliJ only. But you can use file manager to find file and then open it in already runned IntelliJ by pressing Enter or double clicking on java file.


Installation

RMI opener
Now released RMI file opener in this plugin. You can use rmiidea.bat to make file assotiations with file types. You can assotiate files, which can be opened in IntelliJ to rmiidea.bat. You must check rmiidea.bat for variables:

rem Please set up following variables to correct paths
SET JAVA_HOME=c:
development
tools
java
SET IDEA_HOME=c:
development
tools
idea
SET IDEA_RUNNER=idea.bat

Then you can bind this rmiidea.bat to file types. To do this run rmiidea.bat install command. This will make file assotiations by .java extension and JavaFile type (it also automatical set up an icon for file type - idea.ico).

Changes
version 1.2

a.. Support for windows activation by JDK 1.4 swing function (setFocusable).
b.. Support for non console RMI loader. RMI loader now install as javaw command directly to registry.
c.. Support for multiproject
d.. Improving performance of RMI loader. Removed Logger from Main loader class, this allow do not load all idea jars to run loader.
e.. Add feature to "first run" IntelliJ application. If you try load java file by double clicking and IntelliJ does not started, loader automatical start new instance and load files into it.
f.. Bug fixes
Thanks!

Please sign in to leave a comment.