I was checking out the SpongeAPI repository when I found a commit with the comment:
“Congratulations, you forgot to import java.io.File so this doesn’t compile.”
Which made me think:
Flips backwards out of chair
“How the **** does one forget to import something with an IDE”
Maybe Eclipse is just superior to IntelliJ in detecting missing imports and such. If I forget an import or something, literally every reference to the field that uses that import is highlighted red, and Eclipse is even nice enough to add the import for you at the press of a button. But I haven’t touched IntelliJ so I would not know how it compares. So with that said… Any reasons?
Started playing with NetBeans a while back, and I really missed the crtl+shift+O functionality to fix and add missing imports automagically. Not sure how IntelliJ goes about it, but NetBeans was a pain to setup with the same shortcut.
on another sidenote, the space+enter to see the possible autofill code always gets messed up with the OS IME switcher thingydoodler, and I had to turn that off in Xubuntu so it’d work properly, too.
IntelliJ does auto-imports too. So no need to bash on IntelliJ (as I am a user of intellij and do not want this to get into a debate I shall leave it at that). I think its mainly for the people who don’t know how to use their IDE’s.
ha
notepad++
pls, i use wordpad like a true professional
its not /that/ unlikely
i mean i’ve unreasonably forgotten to import things in my code before and wasted 17 hours trying to figure out the problem before realizing it was just a missing import or a wrong import