WRITING SCALA OUTSIDE IF INTELLIJ IDEA
summary
Shows a working IDE built around a customized nvim setup using metals and tree-sitter and Bloop, with concrete demos: code navigation via tree-sitter text objects, incremental selection, swapping parameters, automatic imports on completion, DAP debugging (breakpoints, locals, expression eval), running tests (demo showed 6 tests passed and one failing), code actions to convert flatMap to for‑comprehension, semantic highlighting, partial git commits, and a broken ChatGPT plugin; setup matured over ~2 years but can bootstrap faster with frameworks.
AI-written summary · about
chapters (23)
- 0:00Introduction
- 1:52Language Server Protocol and Metals
- 3:38Parser role in editing
- 5:28Neovim for Scala
- 7:54Neovim’s modularity benefits
- 10:21Live demo setup
- 11:27Syntax highlighting and Metals
- 12:29Vim motions for editing
- 13:35Tree-sitter text objects
- 15:07Neovim command palette
- 16:52Custom Tree-sitter text objects
- 17:38Tree-sitter refactoring
- 18:20Error navigation
- 19:04Code completion
- 20:10Compilation diagnostics
- 20:55Applying code actions
- 21:39Running tests
- 22:43Debugging Scala
- 25:23Refactoring for-comprehension
- 26:29Navigation tricks
- 27:19Git integration
- 28:44AI-assisted editing
- 30:14Q&A








