![]() ![]() To configure path variables, in the Settings/Preferences dialog Ctrl+Alt+S, select Appearance & Behavior | Path Variables. $MODULE_DIR$: stands for the directory that keeps module configuration files IML. $PROJECT_DIR$: stands for the directory where your project is stored. $USER_HOME$: stands for your home directory. In IntelliJ IDEA, there are some pre-defined variables: ![]() With path variables, you can flexibly share your code so all the references to the linked resources are resolved properly as the path variables accept the values according to the configuration on each specific computer. If you are working in a team, these absolute paths on the computers of your teammates may differ. Path variables are placeholders that stand for absolute paths to resources that are linked to your project but are stored outside it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |