Portable Mode of CLion
Answered
I am trying to have a Portable Mode of CLion:
- Registry
It seem there is no way around CLion using the registry (See Prevent JetBrains IDEs from writing to Registry).
Is there anything new on that front? I guess there is still no easy way to use files instead of the registry. - Data Folders
In CLion Advanced Configuration there are options to define the different folders used by CLion.
What I'm wondering is about using relative paths in those configurations.
Can one use relative paths? Could they be relative to the EXE file (`clion64.exe`)?
The documentation only says about using `${user.home}` which isn't good enough for portability.
Currently I just launch CLion from my own Batch File with altered environment variables.
Should I call `clion64.exe` or `clion.bat`?
Please sign in to leave a comment.
Hi.
1. Yes, there is no news till this answer: Prevent JetBrains IDEs from writing to Registry
2. As the doc says, you can insert properties and use standard java system properties (https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html).