Better HN
topnewbestaskshowjobs
Log inSign up

robinst

2 karma · joined Sep 1, 2011 (15y ago) · 5 submissions

Submissions

comment 13y ago · link · parent

> . 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.

comment 13y ago · link · parent

> - 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...

comment 13y ago · link · parent

> - 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...

comment 13y ago · link · parent

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.

comment 15y ago · link · parent

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...