HackerTrans
TopNewTrendsCommentsPastAskShowJobs

rumno0

no profile record

Submissions

Show HN: Nice TUI for Go Pprof

github.com
2 points·by rumno0·3 mesi fa·0 comments

Show HN: Create a full language server in Go with 3.17 spec support

github.com
93 points·by rumno0·4 mesi fa·18 comments

comments

rumno0
·3 mesi fa·discuss
Just to show what it can do, some language servers built with it

- Makefile: https://github.com/owenrumney/make-ls

- Goreleaser: https://github.com/owenrumney/goreleaser-ls
rumno0
·3 mesi fa·discuss
Thanks -

If its a straight error, then the error response is returned and we're all happy!

If the handler panics, the server crashes, so that's something I'm off to fix now!

Thanks!!!!
rumno0
·3 mesi fa·discuss
I've been thinking about this comment for a few hours now! I love it! I like building VS Code extensions and realized quickly the benefit of writing the logic in an LSP but I would never have thought to do the SSH config thing you describe.

I've now started a Makefile lsp since you've inspired me to think about the painful scenarios that LSP can solve if I think a bit wider.

Cheers for that!!
rumno0
·3 mesi fa·discuss
I actually started out using that. I wanted a debug UI to track messages which was the major driver in creating my own tbh
rumno0
·3 mesi fa·discuss
I disagree - you should have docstring and I don't think this is worse by having it... its just not ideal
rumno0
·3 mesi fa·discuss
I wrote this for the infracost LSP so I could write multiple IDE extensions. Its not even really a language server, its just a neat way to parse the Terraform/Cloudformation and return diagnostics.

Language servers are cool!
rumno0
·3 mesi fa·discuss
thanks!

Thankfully, I finally had a reason to build an LSP (infracost LSP), so it motivated this and I'm really pleased with it
rumno0
·3 mesi fa·discuss
Yeah some times godoc comments look crap by necessity