Variable definitions: FilePath, FileDir

Is there any where in IntelliJ help where it defines such things as

$FileDir$

$FilePath$

Thanks,

Ted

4 comments
Comment actions Permalink

It's a dir and path respectively of the file currently opened in editor or
selected in the project view or commander.

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"

Is there any where in IntelliJ help where it defines such things as

$FileDir$

$FilePath$

Thanks,

Ted



0
Comment actions Permalink

Is there documentation for these in the help system?

There are other variables that I am also curious about.

Thanks,

Ted

0
Comment actions Permalink

This is extremely late but this thread actually shows up nearly first on Google when I searched for this information, so I'll reply here.

The macros don't seem to be documented anywhere (I'd love to be corrected on this), but you can find a list of them by going to File > Tools > External Tools > <Create new tool> and clicking "Insert macro". There's also a preview box showing the current value of the selected macro. Most are self-explanatory, but some (e.g. Prompt) could use more documentation for sure.

1
Comment actions Permalink

This is helpful! Thanks! :)

0

Please sign in to leave a comment.