Hacker News new | ask | show | jobs
by cellis 4908 days ago
For one thing, Intellij doesn't autoimport classes. I was trying out Play 2.0 and autocomplete didn't find a ton of classes for instance play.data.Form.

A minor thing, sure, and there are ways around it, but the Eclipse Scala IDE found all classes. I have gripes about Eclipse as well, but nothing is perfect.

3 comments

IntelliJ does do autoimport. I have very occasionally seen IntelliJ not offer an import suggestion for a class I have used, but overall it's an extremely polished experience.
That's strange. I had no problem resolving that class on a default new Play 2.0 Scala app in IDEA 12. Unless I misunderstand your complaint... I have to hit Alt+Enter to select the Package+Class to Import since sometimes (usually) there are Class name conflicts. But it always resolves the dependencies properly.
What I mean is that play.data.Form wasn't in the initial autocomplete list; when I typed F-o-r it didn't suggest play.data.Form ( among others). Only after I had cancelled did it ask me for alt+enter to select one of the conflicting names.
enable "import on the fly" from settings.