From vanilla Emacs to Java IDE in 5 minutes

preview_player
Показать описание
In this video I show you have you can take a vanilla Emacs with no configuration and turn it into a fully fledged Java IDE in 5 minutes:
- lsp-mode: java coding
- dap-mode: test runner and debugger

I also briefly show a number of packages I thing are a must for serious coding:
- projectile for project navigation and search
- magit for git
- subword-mode
- yasnippet for code snippets

Lastly, I mention how to debug issues with your Java configuration.

- 🐦 @torsteinkrause
Комментарии
Автор

Super useful to have this explained in one place! Thanks!

VivekHaldar
Автор

Thanks, man! Straight.el was what I need to install some of my needed packages (helm, helm-lsp and others wasn't installing just with `use-package`. Great video!

GabrielSoares-mtil
Автор

Thanks for the video, I know the basics of Emacs and I'm starting to learn Java, I didn't understand most of the tools you added in, but I'll take my time to learn it.

bargainbincatgirl
Автор

Very interesting. Been a long time C/C++ developer and returning to java now and am very thankful to see an Emacs DE.
I just wish that the org mode file from your talk was still available.... :(...

gremlingaming
Автор

This was a great video! I am a 20-year long user of Emacs, but admittedly mostly use it for editing single (or few) files and use cases like that, and for org-mode, but not as an IDE replacement. This video made we want to finally explore it further for actual "big" work.

I have two questions, sorry if they sound surprisingly nooby given that I've been using Emacs for so long.

1. When you change buffers, you seem to have all files open already. How do you "open a project" so to speak, so that all files in a project are opened and in the buffer list already?

2. When you do "Ctrl-X b" to switch buffers, I noticed you get a big buffer window where you can easily fuzzy search and move around, and then the buffer window automatically closes when you've made your selection. This doesn't seem to be the default but I like it a lot obviously. How did you configure the buffer window to your liking?

Thanks again for inspiration!

gmmigge
Автор

Hi, I was trying to get the same workflow with Eglot [except ofcourse the debugging (with dap) etc], but could not achieve the same smoothness. Was curious to know if you tried Eglot for java and what your experience was. Thanks for the vid!

arv-n
Автор

I love emacs so much but there is one big thing that I am unable to fix and maybe you could help me. The java debugger local variables view just hangs when i try to expand on arrays. Whenever i try to view elements of a collection while debugging, my emacs just crashes. Does this happen to you too? Thanks!

aneeshdandime
Автор

Thank you for sharing this, do you have something similar to c/c++? Congratulations, great value here.

SergioFelicianoMendozaBarrera
Автор

Thanks, I wanna know how you import external jar file, and make lsp complete them, just using maven?

RedJoker-zluo
Автор

how you get the right (separate space) with variables and function of the file? and how you sting your treemacs

VS-nqro
Автор

Has your site been defaced or something? I just get 404 for the org file and the main page seems to be a casino ad

klairm
welcome to shbcf.ru