project more and more, using eclipse felt too card, decided to try the idea.
under multiple modules, system.getproperty (“user.dir”) gets the path to the module when you run the project.
to set the default Working Directory span> span> span> p>
setting method:
Run -> Edit Configurations -> Working directory span> p>
Defaults-> Application
set Working directory to $MODULE_DIR$so that each module gets its own project root path
Read More:
- Idea2021 reports an error. Default operand size is 64 sets the startup task to automatically add the registry
- @Value sets the default value
- PostgreSQL sets the default value of the field to the current year
- R language – path setting and working directory modification
- Idea | change the default configuration of idea to open a new project
- [error] error handling of IntelliJ idea
- Cannot change working directory processing of setwd
- ionic android Current working directory is not a Cordova-based project.
- How can IntelliJ idea completely delete a project
- IntelliJ idea / eclipse automatically generate author annotation signature
- Error:Cannot start process,the working directory does not exist
- Git uploads local IntelliJ idea project to GitHub
- IntelliJ idea automatically generates serialVersionUID
- [solved] error: module not specified (IntelliJ idea)
- Ubuntu 20.04: How to create shortcut startup mode in IntelliJ idea
- IntelliJ idea debugging Java 8 stream
- Upgrade to IntelliJ idea 2021.2 and start the project with an error
- The solution of notes floating red error in IntelliJ idea
- MacOS: How to Fix Intellij-IDEA main menu disappears Bug
- Solve the problem that target code version of Maven project sub module in IntelliJ idea is always rolled back