Closed WillLillis closed 2 months ago
I haven't personally spent much time with VSCode (so I may be missing some fairly obvious gotcha's here), but it's an incredibly popular editor and it would be really nice to enable its users to try out our server. After some tinkering I was able to get a development debug build to work:
I pieced this together by looking over similar implementations in htmx-lsp and surrealql-lsp. (Both are well-worth checking out)
cc: @Ce11an, I got most of the way there by copying your implementation in surrealql-lsp. Hope that's ok 😄
Of course! I copied the majority from rust-analyzer 😆
P.S. I also added bits into the CI to check for linting and formatting errors. As well as making sure the package can be built. Not too much effort to add in if you fancied it.
Of course! I copied the majority from rust-analyzer 😆
😆
P.S. I also added bits into the CI to check for linting and formatting errors. As well as making sure the package can be built. Not too much effort to add in if you fancied it.
Awesome! I'll spend some time trying to get that working with the existing CI now :)
I haven't personally spent much time with VSCode (so I may be missing some fairly obvious gotcha's here), but it's an incredibly popular editor and it would be really nice to enable its users to try out our server. After some tinkering I was able to get a development debug build to work:
I pieced this together by looking over similar implementations in htmx-lsp and surrealql-lsp. (Both are well-worth checking out)
cc: @Ce11an, I got most of the way there by copying your implementation in surrealql-lsp. Hope that's ok 😄