Can I close a file without saving changes?

How can I close an edited source file without saving my changes? Am I
missing something obvious?


5 comments

"DaveMN" <guest@unknown.com> wrote in message
news:b6kcp9$8cr$1@is.intellij.net...

How can I close an edited source file without saving my changes? Am I
missing something obvious?


You cannot. For better or for worse, IDEA does not follow many of the user
interface conventions that you are probably used to.

You can use the Local VCS to go back to a previous version, then close the
file.


Erik


0

Ouch! Thanks Erik.

"Erik Hanson" <ehanson@comsys.com> wrote in message
news:b6kfcu$ci6$1@is.intellij.net...

"DaveMN" <guest@unknown.com> wrote in message
news:b6kcp9$8cr$1@is.intellij.net...

How can I close an edited source file without saving my changes? Am I
missing something obvious?

>

You cannot. For better or for worse, IDEA does not follow many of the user
interface conventions that you are probably used to.

>

You can use the Local VCS to go back to a previous version, then close the
file.

>
>

Erik

>
>


0

Hey, since I started using IDEA I have almost never had to revert!

1) Undo
2) Local VCS
3) Refactoring makes sure your code is always internally consistent.

DaveMN wrote:

Ouch! Thanks Erik.

"Erik Hanson" <ehanson@comsys.com> wrote in message
news:b6kfcu$ci6$1@is.intellij.net...

>>"DaveMN" <guest@unknown.com> wrote in message
>>news:b6kcp9$8cr$1@is.intellij.net...
>>
>>>How can I close an edited source file without saving my changes? Am I
>>>missing something obvious?
>>
>>You cannot. For better or for worse, IDEA does not follow many of the user
>>interface conventions that you are probably used to.
>>
>>You can use the Local VCS to go back to a previous version, then close the
>>file.
>>
>>
>>Erik
>>
>>




--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0

4) file/reload from disk + close

Erb wrote:

Hey, since I started using IDEA I have almost never had to revert!

1) Undo
2) Local VCS
3) Refactoring makes sure your code is always internally consistent.

DaveMN wrote:

>> Ouch! Thanks Erik.
>>
>> "Erik Hanson" <ehanson@comsys.com> wrote in message
>> news:b6kfcu$ci6$1@is.intellij.net...
>>
>>> "DaveMN" <guest@unknown.com> wrote in message
>>> news:b6kcp9$8cr$1@is.intellij.net...
>>>
>>>> How can I close an edited source file without saving my changes? Am I
>>>> missing something obvious?
>>>
>>>
>>> You cannot. For better or for worse, IDEA does not follow many of the
>>> user
>>> interface conventions that you are probably used to.
>>>
>>> You can use the Local VCS to go back to a previous version, then
>>> close the
>>> file.
>>>
>>>
>>> Erik
>>>
>>>
>>
>>
>>



0

I set up an external tool using CVS to revert, I named it "Throw out local
changes"...

update -C $FilePathRelativeToProjectRoot$


--
Duane Fields
Deep Magic Software and Consulting
duane@deepmagic.com
"Sven Krause" <fake@gmx.de> wrote in message
news:b6tvbn$lfn$1@is.intellij.net...

4) file/reload from disk + close

>

Erb wrote:

Hey, since I started using IDEA I have almost never had to revert!

>

1) Undo
2) Local VCS
3) Refactoring makes sure your code is always internally consistent.

>

DaveMN wrote:

>
>> Ouch! Thanks Erik.
>>
>> "Erik Hanson" <ehanson@comsys.com> wrote in message
>> news:b6kfcu$ci6$1@is.intellij.net...
>>
>>> "DaveMN" <guest@unknown.com> wrote in message
>>> news:b6kcp9$8cr$1@is.intellij.net...
>>>
>>>> How can I close an edited source file without saving my changes? Am

I

>>>> missing something obvious?
>>>
>>>
>>> You cannot. For better or for worse, IDEA does not follow many of the
>>> user
>>> interface conventions that you are probably used to.
>>>
>>> You can use the Local VCS to go back to a previous version, then
>>> close the
>>> file.
>>>
>>>
>>> Erik
>>>
>>>
>>
>>
>>
>
>

>


0

Please sign in to leave a comment.