cursorless-dev / vscode-parse-tree

Syntax trees for VSCode using tree-sitter
MIT License
40 stars 35 forks source link

Add C# support #2

Closed sterlind closed 2 years ago

sterlind commented 2 years ago

Pretty straightforward; the Makefile tweak is because the package is named tree-sitter-c-sharp but the module produced is named tree-sitter-c_sharp.wasm

sterlind commented 2 years ago

Looks great! Left a minor comment. Also, would it be possible to leave a few bullet points about how you got Windows working to save trouble for the poor next soul who tries 😅

I actually ended up using wsl2, even though I got windows working, just so I wouldn't have to have so many hacks making it hard for me to send PRs.

Developing on WSL2

When working with WSL, the host vscode instance connects to a vscode server on the WSL vm. This happens automatically when you run "code" in WSL, as long as you have the "Remote - WSL" extension installed on the host. From there you need to: