External Tools

Hi!

I'm constantly running a command line tool from outside IDEA and now I wan't to try to make an External Tool that's runnable from inside IDEA with the currently open file.
This program is heavily dependent on unix environment variables (I'm running linux). Is there anyway I can run IDEA so I get the same environments variables, just as I would running a normal shell?

Thanks.

3 comments
Comment actions Permalink

Hello.

I have configured an external tool which runs env and then run env from terminal. It seems that the output is very similar, IDEA just adds several specific variables like IDEA_HOME.

Alexander.

0
Comment actions Permalink

I moved my env settings from .zshrc to .profile and then IDEA found them and now it works

Next question is if I can do any nice tricks with the parameters. I've already found the $fileName$ but what if I would like a user input (with a default value)? Is that possible?

Kind of like ctrl+t (surround with)

thanks.

0

Please sign in to leave a comment.