Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Picking up idea variables programmatically

$
0
0

Hi,

 

I'm writing some tests and I'd like to be able to programmatically pick up the project root directory from my code.

 

I know there are idea specific variables such as "MODULE_DIR", but is there any way I can get the project root from my code?

 

Many thanks

 

Richard


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>