3 ms·
Tangentially, since I now write a lot of Zig and there’s no official LSP, I decided to see what life would be without an LSP for all my projects (Go, TS, Python
by qudat 7d ago
Tangentially, since I now write a lot of Zig and there’s no official LSP, I decided to see what life would be without an LSP for all my projects (Go, TS, Python).
Honestly, my LSP requirements are minimal: go to def, find all references, and symbol search. I’ve been wanting to try ctags for awhile and finally made the switch.
Another consideration were all the posts about how grep is better than LSPs for LLMs.
It really pushed me to just get better at grep. There have been a ton of benefits: I can symbol search outside of my editor, it’s much faster than an LSP, minimal configuration. It feels more like a universal tool I can use instead of a tool for IDEs.
- monocasa 7d agoI do like that vscode understands paths with line numbers in the terminal, so grep -n then ctrl+click takes you to that line.
- wredcoll 7d agoIt's faster than an lsp?? What on earth are you doing? Even just the context switch to typing the right grep command is slower than ctrl-g or whatever.
- qudat 7d agoLSP load times can be brutal (or crash entirely) and I have a shortcut to grep the word under the cursor. Ctags is a symbol indexing system so I run it once for a project and can do symbol searches in my editor or using fzf. I have ctags index the languages stdlib as well which is really handy for quick symbol searching -> open my editor to read more