Download, Changes, Features, Technical Overview
See Also: PhantomPlugins
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.
RMI opener
Now released RMI file opener in this plugin. You can use rmiidea.bat to make file assotiations. Please, 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 use this rmiidea.bat to make file assotiations. 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).
Note: The command rmiidea.bat install work only on Windows systems
For non Windows systems you can use modified script from rmiidea.bat. Just run rmiidea.bat file1 file2 ... fileN if your system allow run batch files.
If your system does not allow run batch files, you can run java class directly. You must call to java to execute class
org.phantom.intellij.ide.oneInstance.rmi.Main with parameters:
- -cp - Classpath with only
phantom-plugins-oneInstance.jar
- -Didea.runner - Must be a full path to script, that IntelliJ use to start application. For example,
c:\\development\\tools\\idea\\bin\\idea.bat
- List of files
For example:
java -cp c:\\development\\tools\\idea\\plugins\\phantom-plugins.jar -Didea.runner=c:\\development\\tools\\idea\\bin\\idea.batorg.phantom.intellij.ide.oneInstance.rmi.Main file1 file2 ... fileN
Back to top
-- AlexeyEfimov - 26 Aug 2002
|
|