News for hackers. Stuff that matters.
Re:IntelliJ IDEA goes open source by shiranaihito on Thursday October 15, 2009 @04:27PM (#884206)
As far as I can tell, you get it automatically when using CVS or SVN.

And no, it's not just what people are used to. Earlier this year, me and another guy converted a few developers from Eclipse to IDEA and they were all really happy about discovering it.

Re:IntelliJ IDEA goes open source by ilyak on Thursday October 15, 2009 @04:44PM (#884227)
I do not understand what's "automatically"?

I want to see which changes are due, and which changes are to be imported. Like one does in eclipse under Team -> Synchronize with repository.

I fail to find such a mode in IDEA.

Noone is yet to point me to it.

Re:IntelliJ IDEA goes open source by jan_g on Friday October 16, 2009 @03:32AM (#884969)
Hm, maybe you didn't search thoroughly enough ? Or maybe I don't understand what you're asking for. Anyways, try Version control->Show changes view. With this you open Changes plugin and under Local tab you will have browsable local changes and under Incoming tab you will have browsable pending updates. You can then compare every file that was/will be changed.
Re:IntelliJ IDEA goes open source by shiranaihito on Thursday October 15, 2009 @04:51PM (#884246)
Well, in my experience IDEA gives you a "visual merge" when there are conflicts.

You have a three-column view with the local version on the left, the merge in the middle, and the changes on the server on the right.

Then you can pick and choose which changes to include and which ones to revert, and their locations are all marked with red and green colors on the sides (of the columns).

I assume that's what you meant, and I don't remember ever having to "opt in" for that functionality.

Btw, it's possible that the people on #java were all using Eclipse :)

Re:IntelliJ IDEA goes open source by ilyak on Thursday October 15, 2009 @05:01PM (#884265)
"You no understand" (c) The Italian Man Who Went To Malta

I'm not asking for a visual merge "when there are conflicts". I'm asking for a visual merge NOW; because I said so. Because if it fails to produce the said visual merge, it gets thrown off the window - exactly what's happened.

And it's more than visual merge; I also want a tree of files that have been changed, on both sides; and I want to look at diffs when clicking on them; and to choose what to update, what to commit. It's very much more than just a dumb commit all/update.

Nope, those people on ##java are really passionate about IDEA.

Re:IntelliJ IDEA goes open source by ohhmaagawd on Friday October 16, 2009 @10:06AM (#885389)
post your question on the intellij forum: http://www.jetbrains.net/devnet/community/idea/ideacommunity

and if it doesn't do what you want, I suggest writing a feature request. I have gotten quite a few features this way.

Re:IntelliJ IDEA goes open source by shiranaihito on Thursday October 15, 2009 @05:49PM (#884350)
Well, apparently Eclipse has more functionality for this specific purpose. That may be enough for you to completely dismiss IDEA in a fit of self-righteous prejudice, but that doesn't mean IDEA isn't a better product overall.

You can choose specific files to commit or update in IDEA too, but I guess that's no good either if it doesn't happen exactly where you want it to.

Why do you want a visual merge even when there are no conflicts though? You could just edit out everything that shouldn't be committed, and then commit.

Re:IntelliJ IDEA goes open source by mosburger on Thursday October 15, 2009 @07:20PM (#884450)
I'm not going to speak for ilyak, but some people (myself included, sometimes), want to see the results of a merge even when there are no conflicts, because we don't trust merges to always go right. There are occasions where subtle bugs can get introduced by botched merges.

Having said that, I'm way less disciplined than I used to be, so I've gotten so I just trust the merge. The mentors who taught me the ropes with version control systems would not be impressed.

Re:IntelliJ IDEA goes open source by jbellis on Thursday October 15, 2009 @10:12PM (#884651)
> The mentors who taught me the ropes with version control systems would not be impressed.

Or maybe they've also realized it's not 1992 anymore.

Re:IntelliJ IDEA goes open source by mosburger on Friday October 16, 2009 @08:48AM (#885247)
It also probably has a lot to do with what kind of software you're developing. In my case, we were writing firmware for prototypes that cost over $2000 and were easily destroyed by bad code. That's bad, but not nearly as bad as code that could endanger human life or perhaps code that handles large financial transactions.

If you're just developing a web application or twitter client, it's probably not worth being so anal-retentive about it.

Re:IntelliJ IDEA goes open source by ilyak on Friday October 16, 2009 @04:04AM (#884999)
I was told that I should use Changes | Local and Changes | Incoming in IDEA.

If it really works (didn't check) then IDEA would be fine. Still I'd prefer these modes to be merged.