Commander: who uses it?

Quick question- does anybody make regular use of the Commander window?
It seems to be a permanent fixture in the IDE (can it be hidden?) and
nobody in our small shop of 5 or 6 IDEA users ever uses it.

Since it is so prominent, I'm guessing it must be fabulously useful. If
you find it invaluable, would you please share how and why you use it.

Thanks

25 comments
Comment actions Permalink

Same here, nobody uses it still I wonder why it can't be switched off (e.g. by providing it as plugin). But this discussion has already arised a couple of times, IIRC since IDEA 3 or 4 :)

0
Comment actions Permalink

Since it is so prominent, I'm guessing it must be fabulously useful. If
you find it invaluable, would you please share how and why you use it.

If you've never used a commander (NC, FAR, or TotalCommander) than it might
make no sense to you. For the others is however invaluable.

Ahmed.

0
Comment actions Permalink

Same here. Nobody uses it.

Yann Cebron wrote:

Same here, nobody uses it still I wonder why it can't be switched off (e.g. by providing it as plugin). But this discussion has already arised a couple of times, IIRC since IDEA 3 or 4 :)

0
Comment actions Permalink

Does it have all the features of FAR and plugins?
Since it does not, I am better off with FAR / VC / NC (does anybody remembers what was before that?).
Who cares if its a separate window.

0
Comment actions Permalink

Cory wrote:

Quick question- does anybody make regular use of the Commander window?


So far I have never used it (but then, what Ahmed wrote also
applies to me; I don't use any commander like sw either).

It seems to be a permanent fixture in the IDE (can it be hidden?)


Luckily, you can hide all tool window buttons simultaneously
(Settings | Appearance | Window Options | Show tool window bars)
which greatly increases screen estate.

Regards,
Jens

P.S.: JB, I think this option should really move to the "View" menu
(along with things like "Toolbar", "Status Bar" etc.)

0
Comment actions Permalink

If you've never used a commander (NC, FAR, or TotalCommander) than it might
make no sense to you. For the others is however invaluable.


I second this. I use Commander quite often in the "Floating Window" mode. It allows me to hide the project view and pop up Commander
from time to time when, for example, I want to create a class.
I also find list view more convenient than a tree view when doing changes withing one or two packages.


--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Does it have all the features of FAR and plugins?

No, this commander is not a concurrence of FAR et co., but a commander
in an IDE context e.g. Refactorings aware (no other commander
is able to such a thing, isn't it :) ).

Ahmed.

0
Comment actions Permalink

same here, but it would be useful if:

it would allow full access to the file system and not just off the
project directly. I was hoping to use it for e.g. building jars on the
fly, browsing various directories, copy to deployment directory etc.
But it only gives a different view on the project and thus becomes
quite useless.

O

0
Comment actions Permalink

Quick question- does anybody make regular use of the Commander window?


I use it from time to time, esp. to move a couple of classes to different
packages.

Tom

0
Comment actions Permalink

Completely agree.

BTW, anybody using Servant Salamander 2.5? I cannot live without it any more.

Tom

0
Comment actions Permalink

I don't use any commander like sw either).


I very much recommend you to take a look at Servant Salamander 2.5. If you
got used to it, you will not be able to live without it - my coworkers
proved it. ;)

Tom

0
Comment actions Permalink

Hi Tom,

T> BTW, anybody using Servant Salamander 2.5? I cannot live without it
T> any more.

Yep, I'm using servant salamander and love it. That said, I almost never
open the commander window in IDEA, for some reason I prefer the tree structure
in the project view. I remember trying it several times (for different actions
it's beed recommended by other users for) but just not managed to get used
to it...

Might be because the typical java project is much deeper hierarchy wise than
the way I keep my files on the file system, and it's not often that I find
myself working on files in a single package.

Andrei


0
Comment actions Permalink

I don't use it because it doesn't act really as a true file commander type tool. I'm not talking about exotic features that you might find in a "paid for" file commander tool but it doesn't do something as simple as:

Show me a directory on my file system.

Let me explain...

If you have a directory in your project that's in your classpath but is not flagged as a source or test source directory, it will NOT appear in the commander view. In the Project view it will only appear under the "Libraries" tree. In the commander it simply doesn't appear at all. This is very bad imo. The commander should show everything as it actually exists on the file system but it doesn't.

0
Comment actions Permalink


>it will only appear under the "Libraries" tree. In the commander it simply doesn't appear at all. This is very bad imo. The
>commander should show everything as it actually exists on >the file system but it doesn't.

IDEA's commander is for managing classes, not files, and its "visible" scope is the same as in the Project View. All it does is the
different view (list-like v.s. tree-like ) of the classes of your project.

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

So even though the directory might contain XML files that are perfectly editable in IntelliJ, I shouldn't be able to get at them via the Commander? That just doesn't make sense to me.

0
Comment actions Permalink

So even though the directory might contain XML files that are perfectly editable in IntelliJ, I shouldn't be able to get at them
via the Commander?


Why do you think so? You surely get them as soon as they are located under the module content root. Actually in Commander you see
all the files that are visible in the ProjectView (but in a different way).

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

For it to be usefull, it needs better ingration with the IDE.

Heck, i whish the commander was dropped and IJ got the same basic integration with the OS that eclipse has. Simply being able to "run" files as the OS would from inside the project tree is SO USEFUL! Like if I have an CSV file or smth for my unit tests, it's so nice being able to just use Excel on it via the OS association.

And Commander needs more OS stuff built in.
Just rip off all the basic Norton Commander features and it would be usable.

Right now Commander is just a waste of time.

0
Comment actions Permalink

Why don't you setup an "external tool" to "run" the csv file?

e.g.
Program: cmd.exe
Params: /C "$FilePath$"
Work dir: $FileDir$


Then you can right click and open it via the OS association.

0
Comment actions Permalink

Chris Sherratt wrote:

Why don't you setup an "external tool" to "run" the csv file?


Or simply check out http://plugins.intellij.net/plugin/?id=38

Regards,
Jens

0
Comment actions Permalink

Chris Sherratt wrote:

Why don't you setup an "external tool" to "run" the csv file?

e.g.
Program: cmd.exe
Params: /C "$FilePath$"
Work dir: $FileDir$


Then you can right click and open it via the OS association.


Or another way to set up an external tool to open files using the
default application:

Name: Open
Program: rundll32.exe
Parameters: shell32.dll ShellExec_RunDLL $FilePath$
uncheck "open console"


And "Open With..." functionality is cool too:

Name: Open With...
Program: rundll32.exe
Parameters: shell32.dll,OpenAs_RunDLL $FilePath$
uncheck "open console"


Sometimes you may want to view a certain file in Windows Explorer:
http://blogs.jetbrains.com/idea/2006/03/open-a-file-system-view-for-the-current-filefolder-selected-in-intellij-idea/

Name: Select in Explorer
Program: explorer
Parameters: /select,$FilePath
uncheck "open console"


Or to open a command prompt window in the specified directory:

Name: Command Prompt
Program: cmd.exe
Parameters: /c start
Working directory: $FileDir$
uncheck "open console"


All these external tools work only on Windows of course, but together
they provide a quite good native integration. Now I'm off to try the
Native Neighbourhood plugin, because I need all this functionality on
Mac OS X too.

Bas

0
Comment actions Permalink

The Native Neighborhood plugin works quite well for all these functions. On
Windows anyway.

"Bas Leijdekkers" <leijdekkers@SPAMBLOCK.carp-technologies.nl> wrote in
message news:4490021C.4070106@SPAMBLOCK.carp-technologies.nl...

Chris Sherratt wrote:

>> Why don't you setup an "external tool" to "run" the csv file?
>>
>> e.g. Program: cmd.exe
>> Params: /C "$FilePath$"
>> Work dir: $FileDir$
>>
>>
>> Then you can right click and open it via the OS association.
>

Or another way to set up an external tool to open files using the default
application:

>

Name: Open
Program: rundll32.exe
Parameters: shell32.dll ShellExec_RunDLL $FilePath$
uncheck "open console"

>
>

And "Open With..." functionality is cool too:

>

Name: Open With...
Program: rundll32.exe
Parameters: shell32.dll,OpenAs_RunDLL $FilePath$
uncheck "open console"

>
>

Sometimes you may want to view a certain file in Windows Explorer:
http://blogs.jetbrains.com/idea/2006/03/open-a-file-system-view-for-the-current-filefolder-selected-in-intellij-idea/

>

Name: Select in Explorer
Program: explorer
Parameters: /select,$FilePath
uncheck "open console"

>
>

Or to open a command prompt window in the specified directory:

>

Name: Command Prompt
Program: cmd.exe
Parameters: /c start
Working directory: $FileDir$
uncheck "open console"

>
>

All these external tools work only on Windows of course, but together they
provide a quite good native integration. Now I'm off to try the Native
Neighbourhood plugin, because I need all this functionality on Mac OS X
too.

>

Bas



0
Comment actions Permalink

"Actually in Commander you see
all the files that are visible in the ProjectView (but in a different way)."

Actually, I don't think this is true. The files never appear under the commander no matter where I look for them. In the Project View, they appear under "Libraries" only. I think the Commander is bugged.

0
Comment actions Permalink

Actually, I don't think this is true. The files never appear under the commander no matter where I look for them. In the Project
View, they appear under "Libraries" >only. I think the Commander is bugged.


The sentence before the quoted one in my previous post explains why:

You surely get them as soon as they are located under the module content root.


Libraries are not considered as a part of module content, so the Commander does not show them (as expected).


--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

I'm going to have to agree with the others then. It's pretty much worthless as it's currently implemented.

0
Comment actions Permalink

Nope, was never even clear on what it was for - often wondered if there was a whole lot more to it then I knew - the online doc doesn't cover it very well. Guess others feel the same - doesn't hurt me, doesn' help me so I ignore it.

0

Please sign in to leave a comment.