-
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
Typescript Language Plugin #3767
Comments
I think we should just reuse the typescript extension from VS Code? |
@svenefftinge AFAIK TypeScript is integrated in the VS Code product, it's not a (for tslint there is one https://marketplace.visualstudio.com/items?itemName=eg2.tslint ) |
There is an extension but it is not published. It could be packaged from the repo: https://github.com/Microsoft/vscode/tree/master/extensions/typescript-language-features Before removing any extension, the plugin system should be complete and tested, and all clients (docker images, products) should move to use the plugin system. |
So we need to go through a deprecation process, same as for API. For stuff that we move out of the main repo anyway (for example Java support), this can happen naturally (start new repo as a plugin), for typescript, we would have to have parallel code in the repo, for the time being. |
I think we should aim at directly reusing vscode-java without any Theia-specific modifications. |
Also many extensions seems to expect the standard vscode extensions (e.g. the python one expects the python language and configuration to be present). So maybe we should extract those extensions from VS Code and have them installed always. |
Could you file an issue for that? |
One of the problems I'm trying to clear up is how vscode plugins are going to work when they are run in separate containers in Che 7. In particular, where to launch debuggees and how to use persistent volumes for plugin state have questions that need answering. VSCode plugins are written with the assumption that everything runs on a shared machine, which can cause problems. |
I filed #3815 |
It doesn't seem to cause many problems for the VS Code users. |
Yes, but when running Theia in Che, things are different. |
Would be helpful if you could elaborate on how it is different in that case. |
For example, when a debug adapter tries to start a process to be debugged, it would typically be start it in the same container where the plugin is running, not the target (runtime) container. |
Since PR is merged it is possible to use VS Code extension [2] as a plugin in Theia. Currently it is available by direct url [3]. To build archive I use a docker file here [4] [1] #4170 |
Provide Typescript Language extension as a plugin
Depends on eclipse-che/che#11468
@svenefftinge I believe the thinking is to keep Typescript/Theia support in the main repo, but it would still make sense to convert to a plugin-based version (in packages/typescript and packages/tslint)
The text was updated successfully, but these errors were encountered: