-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Language Support(STL) #599
Comments
Hi @akshaytaru2007, Can you clarify which "STL" you are referring-to? ( https://en.wikipedia.org/wiki/STL ) In general, if there already exists a language server for a language, it's not hard to add support in Theia through an extension. |
Hi, developing a Theia extension is not much different from developing a npm package. You can build it as a node package and distribute via npm. Look at https://github.com/theia-ide/theia-extension-example. It demonstrates an extension developer setup. For developing a language extension look at any language package in the repo. |
@marcdumais-work Thanks for reply. |
Do you already have a compiler capable to cover LSP? If yes, look for SDKs to wrap your compiler into a language server, like lsp4j or vscode-languageserver. If not, have a look at Xtext. It is a framework to develop programming languages and it supports LSP. Here is a tutorial on building a language server with Xtext: http://typefox.io/tutorial-building-a-language-server-for-your-dsl.
Look at any language extension in this repo to learn how to connect with an existing language server. Particularly for Xtext Language Server, there is an example: https://github.com/TypeFox/theia-xtext. But Theia integration part is outdated: theia-ide/theia-xtext#4. You are welcome to update it to the latest Theia. It could be a good exercise to learn about Theia integration with a Xtext-based language server. |
There were no updates on this in the last year, I am closing it. |
Hi,
This is not an issue. I believe Theia currently supports TypeScript, C/C++, Java, Python and Go Languages.
I want to support STL language to make Theia STL IDE.
So my question is: Is there any way I can add support for STL language? If yes what changes I have to make? Or Do I have to create an extension in order to support STL?
The text was updated successfully, but these errors were encountered: