CLion: Macros for “Working Directory” in External Tools do not resolve

Clash Royale CLAN TAG#URR8PPP
CLion: Macros for “Working Directory” in External Tools do not resolve
Trying to setup an external tool in CLion (run cargo fmt before a build).
cargo fmt
In "Working Directory" I tried to set:
- $FileDir$
- $ContentRoot$
- $ProjectFileDir$
$FileDir$
$ContentRoot$
$ProjectFileDir$
and testing with a pwd command. Every time I can see that the working director is set to /Applications/CLion.app/Contents/bin
pwd
/Applications/CLion.app/Contents/bin
No issue if I set "Working directory" as the absolute path to my project folder
Is that a CLion bug or am I missing something?
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.