-
Notifications
You must be signed in to change notification settings - Fork 3
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
Added Gitpod config #22
Conversation
Codecov Report
@@ Coverage Diff @@
## master #22 +/- ##
=========================================
Coverage 79.24% 79.24%
Complexity 756 756
=========================================
Files 10 10
Lines 1609 1609
Branches 40 40
=========================================
Hits 1275 1275
Misses 307 307
Partials 27 27 Continue to review full report at Codecov.
|
Hi! Thanks for the contribution! When I run
So it looks like it's trying to use Java 8 when you run I'm not sure what to do about the type inference problem. I'm using IntelliJ, which handles it fine. But I do see issues when I try to open the project in VS Code. Is it possible that Gitpod won't be usable for this project until the Java Language Server is more advanced? |
Oh, interesting that mvn runs the wrong version. We'll investigate.
If this really is a shortcoming of the Java LS. I saw the same issue when testing in Eclipse. |
The Red Hat Java language support VS Code extension uses the same language server that Eclipse uses, right? And that's the VS Code extension that Gitpod uses for Java? |
Yes, Eclipse, VS Code and Gitpod are all running JDT-LS. I have asked on the JDT forum: |
Any update on this part? |
Sorry, for the delay. I just tried again and the output looks good:
|
But the type checking issues remain :-( |
I'm not very happy that Stephan expects us to become experts on JLS type inference before he'll investigate a possible defect on his end. That sounds a bit too daunting for me at the moment, so I'm gonna close this pull request for now. But I appreciate your efforts, and I do still want people to be able to use Gitpod with this project eventually. So I will periodically revisit this to see if the JDT language server has improved in this regard. If and when that happens, I'll reopen this. |
Hey 👋
I notice you were asking for a Gitpod config :)
So please have a look. I still have issues for which I'd need a little help from you as my Java skills are a bit rusty:
mvn verify
probably I'm missing something)You can check the current state here:
https://gitpod.io/#https://github.com/svenefftinge/procrastination/tree/GH-21
Fixes #21