▲ | shortrounddev2 5 days ago | |||||||||||||||||||||||||
OCaml is a great language without great tooling. Desperately needs a good LSP implementation to run breakpoints and other debugging tools on VSCode or other LSP-aware IDEs. I know there ARE tools available but there isn't great support for them and they don't work well | ||||||||||||||||||||||||||
▲ | debugnik 5 days ago | parent | next [-] | |||||||||||||||||||||||||
LSP isn't the protocol that interfaces with debuggers, that'd be DAP. You're right that OCaml debugging is kinda clunky at the moment. OCaml does have an okay LSP implementation though, and it's getting better; certainly more stable than F#'s in my experience, since that comparison is coming up a lot in this comment section. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | nukifw 5 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
Indeed, efforts should be made in terms of DAP (https://microsoft.github.io/debug-adapter-protocol//), extending the following experimentation: https://lambdafoo.com/posts/2024-03-25-ocaml-debugging-with-.... However, I find the assertion about tooling a bit exaggerated, don't you? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | dismalaf 5 days ago | parent | prev [-] | |||||||||||||||||||||||||
?? OCaml has had a completion engine for as long as I can remember (definitely over a decade) and it powers their LSP these days. I do know however that the community focuses mostly on Vim and Emacs. |