News for hackers. Stuff that matters.

robinst

Re:Eclipse committer on Android IDE switch to IntelliJ on Sunday May 19, 2013 @07:46AM (#5732611)
> . Eclipse is stupid about detecting when you changed a file from outside of Eclipse; IDEA is not. Eclipse is very annoying when you use Emacs/vi/OxygenXML as an additional editor.

Go to Preferences > General > Workspace. Enable the "Refresh" option(s) there.

Re:Eclipse committer on Android IDE switch to IntelliJ on Sunday May 19, 2013 @07:38AM (#5732595)
> - why the hell i have to spend 2h configuring eclipse after downloading a new version? does not svn/git/maven a default requirement for java development today?

The "Eclipse IDE for Java Developers" comes with support for Git and Maven nowadays – no SVN, is there anyone still using it? ;):

http://www.eclipse.org/downloads/packages/eclipse-ide-java-d...

Re:Eclipse committer on Android IDE switch to IntelliJ on Sunday May 19, 2013 @07:34AM (#5732586)
> - search. i never remember which tab out of 6 and what setting will allow me to just do grep in the project folder.

Just disable all the other tabs by pressing "Customize..." in the search dialog and only selecting "File Search".

Or in the upcoming Eclipse 4.3, there is now an option to always show the last used page, see here: http://download.eclipse.org/eclipse/downloads/drops4/S-4.3M6...

Re:Eclipse committer on Android IDE switch to IntelliJ on Sunday May 19, 2013 @07:28AM (#5732577)
It does, yes.

A general tip to find features like this: Press Ctrl+3 (Cmd+3 on Mac OS X) or type in the "quick access" search bar in newer Eclipse versions. It shows the command and the shortcut. Also useful for toggling "Show Whitespace Characters" without needing to have the button in the toolbar, jumping to a preference page, etc.

Re:Yes, Virginia, Scala is hard on Thursday September 01, 2011 @05:57PM (#2951975)
Looking at the Scala API for List, I see the following:

  def flatMap [B] (f: (A) ⇒ GenTraversableOnce[B]): List[B]
Seems nice and readable to me. The full declaration is below it, but this "use case" documentation is usually enough.

http://www.scala-lang.org/api/current/index.html#scala.colle...