Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

getting started guide for eclipse metals is highly desired #19

Open
normana400 opened this issue Nov 23, 2021 · 7 comments
Open

getting started guide for eclipse metals is highly desired #19

normana400 opened this issue Nov 23, 2021 · 7 comments

Comments

@normana400
Copy link

I'm coming from a background from eclipse-IDE. I've used it for all my Scala development since 2015. I've been trying out the current Eclipse-metals scala and can't get past the install!

There needs to be a deeper guide to install this thing that work from the perspective of "how do I get this installed and can create my first project and see it compiling scala code and execute a HelloWorld.scala type of class". I suspect the metals integration might require a bit of description since the separate server running seems to make this a very different integration than the legacy scala-ide.


my current progress with the install is that I can create or import existing scala projects into eclipse as java projects. There appears to be no recognition by eclipse that the project is scala related (other than an occasional prompt that an sbt file is detected and that I see some bloop and metals sbt entries.

I believe there is supposed to be a server launching, but there is no indication that is happening.

@normana400
Copy link
Author

perhaps I can be a guinea pig for putting this documentation together. let me know how I can help out

@tgodzik
Copy link
Contributor

tgodzik commented Nov 24, 2021

Thanks for reporting! It seems that the plugin stopped working with some newer eclipse versions and wasn't successful trying to fix it recently and I am afraid I will not have time to work on it any time soon.

Unless, there is anyone interested in maintaining or at least helping out with the eclipse plugin, I am afraid we might need to deprecate the plugin soon. I was holding off on it too long.

I suggest using one of the other supported plugins such as Visual Studio Code, Vim, Emacs or Sublime, which work much better and have active contributors. Alternatively, you can also try out Intellij Idea, which also works great, but it doesn't use Metals and LSP

@mundacho
Copy link
Contributor

Hello, @tgodzik and @normana400 . I didn't have time to update the plugin for a long time. There is a possibility that I'll have time from December on. So, if you don't mind @tgodzik please wait until January to deprecate it. If I don't update it in December, it's not probable that I'll be able to update it later.

@mundacho
Copy link
Contributor

I have a version working on Eclipse 2021-03 which I use for my personal development, but I've never pushed it. If you're interested @normana400 , I can commit it and you can review the commit and ask me questions.

@tgodzik
Copy link
Contributor

tgodzik commented Nov 24, 2021

@mundacho I also worked on fixing up the CI a bit (since we had to disable Travis), my current progress is here https://github.com/tgodzik/metals-eclipse/tree/update-plugin

@mundacho
Copy link
Contributor

@normana400 Concerning the integration with Java, it's a bit tricky. The idea of LSP supporting editors is to have more like an "editor" and not an IDE. So, you can have a project with eclipse metals (a general project in eclipse) and I'll see java and even jump to it, but there is no "integration" of a Java project with some scala code, like the old Scala Eclipse IDE. To do that we'd need to implement the BSP.

@mundacho
Copy link
Contributor

@mundacho I also worked on fixing up the CI a bit (since we had to disable Travis), my current progress is here https://github.com/tgodzik/metals-eclipse/tree/update-plugin

I'll take a look at that, thank you. Hopefully I'll be able to restart this work on December

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants