D
Deleted member 43669
Guest
If you Google "java <classname>", hovering over the Javadoc URL should give you the package. For example, if I Google "java bufferedinputstream", the first result has this URL:
https://docs.oracle.com/javase/7/docs/a ... tream.html
So,
If you autocomplete
I'm pretty sure you can get this on Emacs, and I wouldn't be surprised if you can get it on Vim (or maybe just NeoVim). The Eclipse Java engine is available as a Language Server, so editors with decent LSP support should get the goodness.
If you program anything moderately complicated, you will need external dependencies. You can't even develop a standard webapp without some extra "official" dependencies that do not come with the base JDK. Given that there are sane and pretty standard ways to manage dependencies (everyone uses the same dependency repos), it's pretty much a good idea to pull dependencies when needed.
(Of course, pulling random crap to avoid three lines of code is dumb. But there are solid libraries out there).
It's also worth learning some build system. Which one is best is a heavily controversial topic, but working on commercial Java without using Maven/Gradle/whatever would be pretty bizarre.
https://docs.oracle.com/javase/7/docs/a ... tream.html
So,
java.io.If you autocomplete
BufferedInputStream on an IDE, it will typically show the available classes matching that name, and picking one should autoadd the import for you. Damn you, though, java.awt.List.I'm pretty sure you can get this on Emacs, and I wouldn't be surprised if you can get it on Vim (or maybe just NeoVim). The Eclipse Java engine is available as a Language Server, so editors with decent LSP support should get the goodness.
If you program anything moderately complicated, you will need external dependencies. You can't even develop a standard webapp without some extra "official" dependencies that do not come with the base JDK. Given that there are sane and pretty standard ways to manage dependencies (everyone uses the same dependency repos), it's pretty much a good idea to pull dependencies when needed.
(Of course, pulling random crap to avoid three lines of code is dumb. But there are solid libraries out there).
It's also worth learning some build system. Which one is best is a heavily controversial topic, but working on commercial Java without using Maven/Gradle/whatever would be pretty bizarre.