-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
VSCode formatter #655
Comments
Thanks for your suggestion 馃檪 From this guide, it looks like native VSCode integration would be through an LSP. Topiary doesn't currently provide any LSP interface, nor is it on the radar. Can integration be done without resorting to an LSP? (@torhovland IIRC, you mentioned something about this many months ago; perhaps in the context of a VSCode extension.) |
I haven't looked into it in detail, but in any case there needs to be an extension involved. |
Yes it's possible to do it without resorting to an LSP; see the subsection called Direct Implementation underneath the section I linked in description You might find it easiest to use a wasm rather than native code. We originally tried to build a native extension for Cursorless VSCode, and it was a nightmare to deal with the OS / arch matrix within electron context so switched to wasm and haven't looked back |
Cool project! It would be great to be able to use topiary formatters for autoformatting in VSCode. See this guide for more, in case you haven't seen that one yet 馃槉
The text was updated successfully, but these errors were encountered: