How to get clion to open the last project when starting "clion" with a script?Or the environment required by the configuration project..
已回答
How to get clion to open the last project when starting "clion" with a script?
In order for "clion" to find the files that the project depends on, I must source the relevant environment before starting the project.
The startup script is shown in the figure above,
But there is a problem. When using it to start, a project named "2" is opened by default. How can I open the last closed project? Or how to configure the project to obtain the corresponding environment?
I'm doing ros development. I guess someone has encountered similar problems
The ros plug-in in the clion is no longer updated. I need some practical methods to solve the dependency problem
请先登录再写评论。
Adjust&>to>&, which seems to be OK
Hello!
You can specify the script in the toolchain - https://www.jetbrains.com/help/clion/quick-tutorial-on-configuring-clion-on-windows.html#env-scripts.
If `File | Settings | Appearance & Behavior | System Settings` > `Reopen projects on startup` option is enabled, CLion opens all projects that were open when you closed CLion last time.
And here is how to open a file or folder in CLion from the command line - https://www.jetbrains.com/help/clion/opening-files-from-command-line.html