Is there path macros in IntelliJ IDEA that points to project directory ? (IDEA 10.5.2)

10,478

Some fields in IDEA run/debug configuration indeed accept ${PROJECT_DIR} and ${MODULE_DIR} variables, for example the working directory field, however it's not available in all the fields, like in your case when you want to pass a parameter to the GWT compiler.

There is already an open issue related to your request, but you can file another one if you want.

Share:
10,478
expert
Author by

expert

My interests: scala kotlin java deep-learning machine-learning reactive-programming scala-cats project-reactor scalability reverse-engineering peer-to-peer. Back in 2005 I created Morpheus, the most popular file sharing application in North America. I also designed and built Dell Digital Delivery (similar to Steam for non-games) which is installed on every Dell PC world-wide and worked on improving architecture of Fivetran. Currently I'm building super-fast hybrid (batching/realtime) data integration pipeline at bitparticles.

Updated on July 02, 2022

Comments

  • expert
    expert almost 2 years

    Is there path macros in IntelliJ IDEA that points to project directory ?

    In build 10.5.2 that I have

    ${PROJECT_DIR}
    

    is null.

    Thanks!

  • expert
    expert over 12 years
    Thanks. That's sad. Any ideas in what version in might be fixed ?
  • mjs
    mjs over 7 years
    @CrazyCoder, when I record a macro, such as right click on a directory/module, it doesn't record that selection, so the activation of the macro happens on whatever happens to be active later on. Relevant: stackoverflow.com/questions/41076187/…
  • mjs
    mjs over 7 years
    @CrazyCoder Is there a way to record teh selection of a project before?