intellij-ideafile-location

Where does IntelliJ IDEA store shelf changes on the local drive?


I want to write a small backup script that would take my shelf changes in IntelliJ from my local drive and put them on a network drive. But I can't locate the path to where these are stored on my local drive.

Any ideas?


Solution

  • For me it's $user.home/.IntelliJIdea90/config/shelf

    I'm not sure if that changes on OSX or not. It seems like it might be different, but once you find the .IntelliJIdea90 directory, it's in /config/shelf.

    Update for comment Here is my .IntelliJIdea80/config/shelf directory after shelving some changes in 8.1.3:

    skrall@skralldesktop:~/.IntelliJIdea80/config/shelf$ ls
    AnotherTestOfshelving.patch
    skrall@skralldesktop:~/.IntelliJIdea80/config/shelf$ 
    

    I'll startup my Windows VM and see if it's the same place on Windows.

    Update With Windows

    Same place. This is Vista, so it's C:\Users\skrall\.IntelliJ90\config\shelf Can you search your local hard drive for a directory named shelf? Or, if that doesn't work, search for *.patch