Where is the IntelliJ IDEA configuration stored in OSX?

As part of our efforts to comply with the corporate workstation, our IT department had to create a new account for me on my Mac and leave the old account until I transferred all the artifacts and configs. So my old home directory was /Users/firstlast, and the new one is /Users/flast. Of course, the burden of reconfiguring my environment fell on me.

Some of the applications that I use, for example ssh, Maven, Dropboxand DBeaverare easy and clean configuration in the home directory ( .ssh, .m2, .dropbox, .dbeaver, respectively), so it was an easy migration by simply copying a directory from the old house to the new one by using sudothen chown. However, this does not apply IntelliJ IDEA.

My IDEA was strongly tuned to the extent that I would like to avoid repeating everything, if at all possible. I understand that each project has its own configuration in the project directory, but I have to get the same list of projects that will be open when I start IDEA under a new user, like the old user had. All my projects were in ~/DEV(well ~/DEV/project1, ~/DEV/project2etc., and I can just copy the DEV directory from the old house to the new one.

Where is this list of projects stored? I assume this is somewhere in /private/etcor /private/var, but is allowed for the old user so that the new user does not see him.

+4
source share
2 answers

, , , , - IDEA, , , .

:

  • , . , , , .

  • sudo cp -r//${OLD_USER}/Library//IdeaIC13//${NEW_USER}/Library/

  • sudo chown -R ${NEW_USER}//${NEW_USER}/Library//IC13

--. IDE .

+3

Jetbrains :

http://devnet.jetbrains.com/docs/DOC-181

On Mac OS X IDEA uses the following directories:
Config: ~/Library/Preferences/IntelliJIdeaXX
System: ~/Library/Caches/IntelliJIdeaXX
Plugins: ~/Library/Application Support/IntelliJIdeaXX
Logs: ~/Library/Logs/IntelliJIdeaXX (starting from IntelliJ IDEA 9.0, older versions keep logs under System location)
+16

Source: https://habr.com/ru/post/1536825/


All Articles