-
Notifications
You must be signed in to change notification settings - Fork 20
Description
I have started implementing the Language Server Protocol interface for OpenSCAD, and I would love to see it used in the already best vscode extension for openscad: openscad/openscad#3635
The Idea is, that we can start openscad --lsp-listen 23725
, connect to port 23725, and vscode-languageclient takes care of all the fancyness.
I have created a super minimal extension for the basic support, which will grow with the openscad interface (for example "hover", autocomplete with defined module names, ...). I have already planned to add a bunch of features.
You can find my extension here: https://github.com/Tomatower/vscode-openscad
The biggest change to this extension would be openscad.render
will change, and some logic that has to check if the currently running version does support LSP.
Do you want to have a PR for this upgrade?