eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.95k stars 1.19k forks source link

Scala support #958

Closed benmccann closed 5 years ago

benmccann commented 8 years ago

I'd like to see Scala support added. How do you add support for a new language? Can any code from the Scala IDE Eclipse plugin be reused?

TylerJewell commented 8 years ago

Hi @benmccann. We'd love to see first-class Scala support within the default distribution of Eclipse Che. One of our objectives for the quarter is to focus on building out a plugin resource center, to provide a comprehensive set of tutorials and documentation that outlines how alter the product with two key use cases: a) adding a new programming language with intellisense experience, and b) adding a new tool capability like what we do for Git (or the subversion plugin which just got merged).

We'd love it if the communite could start contributing early. There is a number of things that can be done with the product today.

On this last part, we are starting to document how we do this in tutorials and documentation pages in the CUSTOMIZING.md file. It's incomplete, but we are slowly working through all ofthe pages that need to be developed. And we have examples for how we do everything in the /plugins folder of the repository, along with providing a lot of personalized assistance, if you want it.

benmccann commented 8 years ago

Thanks for the detailed response

TylerJewell commented 8 years ago

Yes that is the sort of extension that is needed to get the project configuration and project type to match up so that dependencies can be evaluated.

I would recommend that a stack get built first and merged into the main stream. I think you'd want the activator installed in the stack and to show that the command line is workable. Then in a second phase the sbt work would be analyzed.

Fabs commented 8 years ago

I would love to see at happening and could help with testing and feedback :).

DarkBlaez commented 8 years ago

Has any further progress on this been made? I am currently getting the dockerfile built out to create the workspace for Scala. However, just wanted to see if there was any further progress or such so I do not collide with current work on this.

Thanks

TylerJewell commented 8 years ago

Hi @DarkBlaez - there hasn't been anything moved further on the Scala front that I have seen yet. However, we are about 6 weeks away from making our first public release of our language server protocol implementation and it will have Java, C#, JSON, and maybe C/C++. We still have a lot more work to do on our side around making sure that we can accept any language server that uses the right JSON protocol. So once that is there, it should become plug-n-play for other language intellisense providers to drop in rich sets of functionality that is usable from the Che editor.

https://github.com/eclipse/che/issues/1287 https://github.com/eclipse/che/issues/2109

These issues are getting updated later this week. There is about 10 pages of notes that go along with them. There is some super impressive capabilities there.

DarkBlaez commented 8 years ago

Tyler thanks for the update. I will hold up on any efforts other than what I am doing on the workspace until the language server protocol build is released. In the mean time i will go review the referenced notes and links to come up to speed with what is being done. Thanks and greatly appreciated

alexbde commented 7 years ago

+1

GeYebo commented 7 years ago

Has there been any progress on this? Thanks.

TylerJewell commented 7 years ago

Unfortunately, we have not had any Scala stacks submitted to be added to the default stack library that ships within Che, yet. We are awaiting a pull request on that part.

There is not yet a language server for Scala, but there is a group working on and once it is finished and open sources, it's rather easy for us to add it as a language server for Scala projects within Che.

Tyler Jewell | CEO | tyler@​codenvy.​com | 9​78​.8​84​.53​55

On Sat, Mar 25, 2017 at 5:50 PM, kenydub notifications@github.com wrote:

Has there been any progress on this? Thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eclipse/che/issues/958#issuecomment-289250163, or mute the thread https://github.com/notifications/unsubscribe-auth/AAX9CgGy9fpIxmkEG_bu_t88DQ0Dfum-ks5rpbZwgaJpZM4H-Z7S .

VRanga000 commented 7 years ago

Could you possibly leverage [ensime](ensime http://ensime.org/) for the scala language server?

cheleb commented 7 years ago

The is already such an initiative at https://github.com/dragos/dragos-vscode-scala

Le ven. 21 avr. 2017 à 15:57, Vikas Rangarajan notifications@github.com a écrit :

Could you possibly leverage [ensime](ensime http://ensime.org/) for the scala language server?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eclipse/che/issues/958#issuecomment-296197552, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXGq2JWwTa7QmwFLUW9tWOiKXI4_3KRks5ryLWsgaJpZM4H-Z7S .

dclong commented 6 years ago

Any update on this? Lack of support for Scala is the thing stops me from migrating to Eclipse che.

ljl1988com commented 6 years ago

Is there a plan to support for scala?

dneary commented 5 years ago

We got a question on StackOverflow on this topic.

gorkem commented 5 years ago

We have no plans to support Scala from the Che project but we do have LSP and vscode plugin compatibility and we welcome any extensions that would like to publish on our registry.

Asking Scala extension providers such as https://github.com/scalameta/metals for a Che extension is the better way to proceed.