close all unmodified question
For a long time now I have allowed idea to save any changes I make to files. I now very rarely hit the save button because idea does such a great job of saving the changes for me. Because of this, every time I select "close all unmodified" it closes every single file (because idea has already saved them for me). I would like to suggest that this be changed to close all the read only files. All of my files are read only until I check them out of my vcs. Once they are checked out I consider them changed, even though they may be saved on the filesystem.
What do you all think? Ya Ya...plugin....write your own.... But what good is the current close all unmodified??
Please sign in to leave a comment.
I agree. Part of the point of IDEA is that the "modified" state of a file is a temporary implementation detail that I don't much have to care about. What I'd like to see instead is "Close all but pinned", which would make the act of pinning a file actually mean something useful.
--Dave Griffith
that would work for me because I would just pin the files as I checked them out.
I would rather see close all files that have not been modified according
to the LVCS.
If I have 8 files open, but only 4 of them have a different state than
the LVCS, those are the ones I want closed. However, I have not used
the pin feature. Not sure what the benefit is.
Norris Shelton
Sun Certified Java Programmer
Charles DeCroes wrote:
>For a long time now I have allowed idea to save any changes I make to files. I now very rarely hit the save button because idea does such a great job of saving the changes for me. Because of this, every time I select "close all unmodified" it closes every single file (because idea has already saved them for me). I would like to suggest that this be changed to close all the read only files. All of my files are read only until I check them out of my vcs. Once they are checked out I consider them changed, even though they may be saved on the filesystem.
>
>What do you all think? Ya Ya...plugin....write your own.... But what good is the current close all unmodified??
>
Ah, ha. this is the way it is working for me. It closes all files that
have an unmodified CVS status. COOL!
Norris Shelton
Sun Certified Java Programmer
Norris Shelton wrote:
>
>
>
>
>
>
>
>> For a long time now I have allowed idea to save any changes I make to
>> files. I now very rarely hit the save button because idea does such
>> a great job of saving the changes for me. Because of this, every
>> time I select "close all unmodified" it closes every single file
>> (because idea has already saved them for me). I would like to
>> suggest that this be changed to close all the read only files. All
>> of my files are read only until I check them out of my vcs. Once
>> they are checked out I consider them changed, even though they may be
>> saved on the filesystem.
>> What do you all think? Ya Ya...plugin....write your own.... But
>> what good is the current close all unmodified??
>>
>>
that is great if you use cvs, but if you use a tool that does not integrate into idea then the feature doesn't really work. Maybe they should look at the read-only flag or pinned status of the file as well. They could look to see if you have cvs setup and if you don't then do one of the other two options.