Open a file in Intellij from the command line

Hello,

How is it possible to open a file[s] in Intellij using the command-line?

Thank you,

Rami

5 comments
Comment actions Permalink

There is a plugin (which may or may not be up-to-date for 5.0) called
"System Tools" which should do what you want
If it isn't up-to-date dial 1-800-Alexey-Efimov

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

0
Comment actions Permalink

Thank you for your reply.

Have tried it and it doesn't work.

Here's the line that have executed to use the plugin:
============================
java -classpath systemTools.jar org.intellij.systemTools.fileLoader.Main D:\dev\allArticles.txt
============================

The file exists, intellij is up and running, no error message is displayed, and the file is not opened in Intellij.

Would appreciate your help.

Rami

0
Comment actions Permalink

Hello Rami,

Thank you for your reply.

Have tried it and it doesn't work.

Here's the line that have executed to use the plugin:
============================
java -classpath systemTools.jar
org.intellij.systemTools.fileLoader.Main D:\dev\allArticles.txt
============================
The file exists, intellij is up and running, no error message is
displayed, and the file is not opened in Intellij.

Would appreciate your help.


Please try this one: http://support.jetbrains.com/kb/entry.jspa?entryID=143&categoryID=4
.

--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"




0
Comment actions Permalink

Any idea why it doesn't work?

thank you,

Rami

0
Comment actions Permalink

When last I looked, this plugin works by having idea listen for
connections on a port. The executable part then sends your file path (not
the file itself) to it so that it can be opened by the IDE.

I don't remember which port uses (its hard-coded) but it could be
conflicting with something else or you could have it locked down. You can
get the source for the plugin and take a look.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

0

Please sign in to leave a comment.