开发者

Restore IntelliJ Idea shelved changes in new project

Every once and a while IntelliJ starts getting really slow and the only thing I can do to fix things is to do a fresh checkout and create a new IntelliJ project.开发者_运维技巧 Recently I noticed that items I shelved were no longer listed under the Changes tab.

I found all of the .patch files but would like to restore them to the list of changes in the IDE.

I'm fine with an answer along the lines of "before you blow away your old project, copy xxx and yyy from some file and paste that stuff into the new project". Keeping the shelf comments would be a bonus.


The VCS I use, SVN, allows for simple creation of patches and also allows patches to be applied to a codebase almost effortlessly. If you already have the .patch files, it should be as simple as using the Version Control -> Apply Patch menu option from within IntelliJ to apply each change-set manually. You should also be able to create a single .patch file from the codebase with your original change-set which will allow you to apply a single patch to bring over your change-set.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜