-
Notifications
You must be signed in to change notification settings - Fork 49
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
Is there interest in adding an Eclipse plugin? #679
Comments
Internally we have pretty much standardized on using Intellij, which is why the eclipse plugin did not really get much attention unfortunately. Generally happy to accept such a contribution! I have some small concerns that we'll probably not do a good job as steward, as we generally not use the plugin ourself which always makes things harder to maintain. However everything is better than the current state and would be great to revive the plugin if its helpful to others! Also not super familiar with what the required steps are for getting an eclipse plugin published right now but I'm sure we can figure it out! :) |
Thanks for your response! For the reasons you stated I am considering if maybe maintaining the plugin by myself as a standalone project may the the better alternative. I am not really sure what's the best option here, but I will think about it.
Me neither. But there is no need to "publish" it anyway. We just need to add the build artifact (a single zip file) as a github release artifact and users can easily install it by copying the zip file to the |
I am just noticing that you currently don't push any artifacts to the github release page of this project. |
Sure, let me know what you decide! Happy to accept the contribution. However also happy to include a link to your project if you decide that you want to keep ownership over it!
Yeah, we currently publish artifacts directly to maven-central and the gradle plugin portal instead of the github release entry. We might be able to change that or otherwise we can publish to eclipse artifacts to maven-central as well.
Yep, that would also work. Reading a bit more into it, it looks like you just need to build and host a static "update site" somewhere (article). I think you should be able to host that using github-pages. This would allow users to directly download the plugin using the eclipse marketplace. |
I've forked this project to integrate the I could create a PR for this project, but for the reasons stated by @fawind this is probably not the best way to go forward. I will probably create a proper standalone project for this plugin including a proper eclipse "update site" to automate updates, but this will take a few days or weeks because I am rather busy at the moment. Nevertheless, I just wanted to present the current state of my work. As you can see, integrating the plugin into the main gradle build as a subproject is not very hard at all. My fork could also be of interest to other readers of this issue who may want to build the plugin themselves until I've extracted the plugin into a standalone github project. The code of Noteworthy:
|
hey @ChristianCiach, I am trying to add the eclipse plugin by cloning your project, and running Is there something that I did wrongly? Thanks! |
It should work exactly like that. I assume you are using at least Eclipse 2022-03 or newer? It worked for me and many of my coworkers were able to install the jar this way. It's not easy to debug your issue just like that :/ I am sorry that I didn't yet create a proper eclipse update site for this plugin. I have been very busy and I will be on vacation for the next three weeks, so please be patient for a while longer. As soon as I've created the update site, I will announce it here and will close the issue. |
I'm actually using sts-4 which is based off the latest eclipse Am I supposed to see a new profile like I'm not sure what I should be expecting after dropping the |
Actually, no. You are supposed to see a new |
According to https://github.com/spring-projects/sts4/blob/4.15.1.RELEASE/eclipse-distribution/pom.xml this version of STS seems to be based on Eclipse 2020-09. This is probably the issue. But this should be easy to fix. You have to build my plugin against an older version of |
ah! Thanks, didn't see that. Only thing was that I encountered this exception (#779) when it tries to format and managed to resolve it by following the comment in google/google-java-format#787 (comment) to export those args Now it seems to be working. Well, the only thing is that your fork is now currently behind, and I'm not exactly sure what changes, and if the rules remains the same when using your version in eclipse, and intellij-java-palantir-format plugin |
It's not actually, it might be wrong/outdated info? I'm not quite sure. See https://twitter.com/springtools4/status/1538049958376615936. It's based off |
Alright, thanks! I see now that I misinterpreted this part of the pom.xml. Again, I am on mobile, so this stuff is hard to make sense of on a small screen :) |
Hello, |
Sorry, I had no time to create a proper update site. You are welcome to compile my fork by yourself :) Since this won't be merged here, there is no point in keeping this issue open. |
This repository contains the directory
eclipse_plugin
, but it is completely unmaintained and not part of the gradle build.I've fixed this plugin for our company and I am willing to create a pull request to add my changes to this repository.
Before I do the work to create a pull-request I want to ask if there is even any interest to release a plugin for Eclipse.
I've not yet integrated the
eclipse_plugin
subproject with the parent Gradle build. Theeclipse_plugin
can currently (after applying my fixes) be built as a standalone maven project. If there is interest in actually releasing an Eclipse plugin, I will try to integrate it with Gradle before sending the PR.The text was updated successfully, but these errors were encountered: