It's second time that I'm loosing my code, XML file has been changed from outside


I've practical question here regarding how the IDE behaves. This the second time that my IDE tells me that the XML file has been changed from outside. Unfortunately I can't remember more than that (if this happen next time I'll take a pix). I clicked though OK and my lastest code was gone. Fortunately this time I've everything in my remote repo.
Now my question is: What is this? Why is this happening and how can WE avoid this funny problem in the future? Thanks
9 comments

Somehow the file has been changed by some other process (perhaps some process you have started within IDE) or IDE has mistakenly decided that it was modified.

Oleg.

0

ok! I was working with GIT outside the IDE, any thoughts about it?

0

Yes, it may be cause of the problem.

Oleg.

0

Hi there! how shall I avoid this issue then? cuz I like to work with GIT in terminal

0

Well, I'm using git in command line from time to time and usually have no problems with RubyMine.
I'd suggest to try to identify the use case when git causes (if it does) the problem and after that we could try to find a workaround for it.

Regards, Oleg.

0

very well! thanks!

Listen I'm having big issues with my models...Rubymine doesnt recognizre the relations in bwt them, as I understand there's a bug...but I can't find any solution...do u know something about it?

http://devnet.jetbrains.com/thread/287750


Y/

0

I'm not sure if this is the problem you have but here is one (possibly related) ticket http://youtrack.jetbrains.com/issue/RUBY-14553

Anyway, I'd suggest to start a new thread about this problem.

Regards, Oleg.

0

Hi there! I just ran into the same problem like before When I created a new branch in the terminal, but this time I took a picture:

Now I wondering how do I deal with this issue? what I did was to unclick the check-box : reload project, was it right?

How shall I avoid this message in the future? Any idea? thanks!



Attachment(s):
Skärmavbild 2013-11-19 kl. 05.36.28.png
0

Well, i think in this particular case (when branch switching modifies .iml file) you have no options :(
As for general idea - try to work with git in RM ;)

Regards, Oleg.

P.S. btw there is a document on what should/should not be placed under VCS - http://devnet.jetbrains.com/docs/DOC-1192

0

Please sign in to leave a comment.