Lost Shelf

Answered

On intellij 14.0.3.  Upgraded to 14.1.1 said my license was not valid.  Went back to 14.0.3.
Shelf is gone!
Is it stored anywhere on disk?

5 comments
Comment actions Permalink

> That's a dangerous default.

The previous default was also dangerous, as developers lost their work when clearing IDE configs or migrating to another version. That's why it was changed.

And now, it is possible to change the location

> but can be changed in Settings | Version Control | Shelf

> If the developer runs git clean -xdf

Not only shelves but workspace.xml and (possible) the entire project configuration, if it is not tracked in git. So I think one should responsibly use such commands. 

Moreover, delete shelves can be restored with Local History.

1
Comment actions Permalink

Look under %config%\shelf. See https://intellij-support.jetbrains.com/entries/23358108 for the config folder location.

Check idea.log for errors (https://intellij-support.jetbrains.com/entries/23352446). Shelf may not display anything if any of the patch files cannot be parsed.

0
Comment actions Permalink

I am using Intellij 2018, and there is no shelf folder in the config folder.

0
Comment actions Permalink

In recent versions, shelf is stored in the .idea/shelf folder in the project. It is default location, but can be changed in Settings | Version Control | Shelf

0
Comment actions Permalink

@Dmitriy Smirnov: That's a dangerous default. If the developer runs git clean -xdf, the shelves will be gone.

0

Please sign in to leave a comment.