csound / csound-vscode-plugin

Plugin for Csound Language support in Visual Studio Code
MIT License
25 stars 8 forks source link

Language Server Features #2

Open stekyne opened 6 years ago

stekyne commented 6 years ago

I thought I'd write down the possible features that could be implemented in VSCode and the extension API (using the language server protocol). This way we can divide it up into work items and anyone can work on it if they want and also keep track of the progress.

Editor Features

More info here: https://code.visualstudio.com/docs/extensionAPI/language-support

Server Implementation

https://code.visualstudio.com/docs/extensions/example-language-server

It still has to be determined how the language server would interact with Csound. The server itself can be written in a few languages so that would have an effect on it. It could be written in Python and use the bindings for that. It might also be better to use a socket to reduce any dependency on platform.

Debugger

https://code.visualstudio.com/docs/extensions/example-debuggers

VSCode supplies a generic API to adapt a concrete debugger to the UI essentially. This means the Csound Debugger could be interfaced into VSCode via an adapter.