According to the latest StackOverflow dev survey, no one is using #Emacs anymore... Time to finally learning something new I guess! 😅
@bbatsov
Notepad++ passing IntelliJ!? How can people seriously code there? When I was way younger (but folks, it was the early 90s!) I was using something like that.
Than I found proper IDEs (JBuilder, NetBeans, IntelliJ IDEA) and I thought I had everything I needed.
Then I found #Emacs.

@AAMfP @bbatsov

If you do Java, how do you code Java in Emacs? Did you find a language server which works without constant hair pulling? I tried eclipse-jdtls with a lot of patience and config fiddling but found it needs frequent restarts, has hardly any useful logging and a mind of its own when it comes to where and how the project must be set up.😩

@HaraldKi @AAMfP @bbatsov I do java with emacs. Yes, IntelliJ is better, but I'm pretty humble and I don't ask for much: Jumping to definition, implementing getters and setters, find usages, you know, the basic stuff.

@dani @AAMfP @bbatsov

Eglot with a language server or just treesitter?

@HaraldKi @AAMfP @bbatsov Just lsp-java package I'm afraid.

Hi, I've coded Java in Emacs. Have been doing so for 25 years, starting out with jdee, then eclim, lsp-mode and now eglot. (Also 2-3 others in between, but those didn't stick). Much easier to set up than it used to be. Most things work more or less as well as intellij, the main exception being the debugger. The intellij debugger is just too good, so Ikeep idea around just for that.

You may have a look at my screencast and conf if you want:

https://youtube.com/@skybert
https://gitlab.com/skybert/my-little-friends/-/blob/master/emacs/.emacs
https://gitlab.com/skybert/my-little-friends/-/blob/master/emacs/.emacs.d/tkj-java-lsp.el?ref_type=heads (currently using eglot, so keeping the lsp settings separate)

@HaraldKi @AAMfP @bbatsov

#emacs #java

Before you continue to YouTube

@skybert "Don't really appreciate Treemacs"

same

@skybert @HaraldKi @AAMfP @bbatsov Interesting to hear, I'll certainly watch your videos.

For the past few weeks I've been using Neovim to code Java at work. It's a challenge to set up for Java as it relies a lot on rich tooling, but I think it's a viable option long-term.

@wpisarski @skybert @AAMfP @bbatsov

😀 After 30 years I decided to experiment with vi again (neovim today). Two day in it is still hard, but helps to keep some brain plasticity.