Skip to content
0:00 / 0:00

#emacs#lsp-mode#dap-mode

From vanilla Emacs to Java IDE in 5 minutes

Skybert Hacks

2.4K subscribers • 9 videos on Hallway

YouTube

Beginner. No background in the topic needed.

26K views4 years ago1 recommendation

Tools and practiceProgramming languagesVim, Emacs and editorsJava and the JVM

Torstein Krause demonstrates how to configure vanilla Emacs into a Java IDE using lsp-mode and dap-mode.

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. - 🎞️ Org used in the talk: github.com/skybert/talks/tree/main/emacs-java-setup - 📑 My Emacs conf: gitlab.com/skybert/my-little-friends/-/tree/master/emacs - 🕸️ skybert.net - 🐦 @torsteinkrause - 📫 torstein@skybert.net

Why it's here

1 person recommends this

What people say. Recommended as a quick guide to setting up Java development in Emacs using LSP.

u/torsteinkrausein r/emacs • Recommends

Vanilla Emacs to Java IDE in 5 minutes

u/jpschewein r/emacs • Mentions

Help with lsp-java I'm new to using lsp, just set it up this afternoon based on link to this video I opened a file in my project and was prompted to import the project root, that worked great (that's fll-sw/working-dir below). My project is built using gradlew. I then started a new git worktree in issues/1168... and opened a file in there. I got errors about all kinds of missing imports. When I run lsp-describe-session I get the output below. The file "Playoff.java" has been opened from issues/1168, the other files are opened from fll-sw/working-dir. I see that the jdtls process id is the same for both directories and that seems odd to me given that they are different projects. Can someone point me…