Skip to content
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

No yellow marks for compiler warnings #346

Open
fowlay opened this issue May 1, 2022 · 6 comments
Open

No yellow marks for compiler warnings #346

fowlay opened this issue May 1, 2022 · 6 comments

Comments

@fowlay
Copy link

fowlay commented May 1, 2022

I am running Eclipse IDE for Java Developers 4.23, and then I have installed Erlang language tools IDE 0.60.4.v20210610-1117.

Maybe these software versions don't play well together. If I create an unused non-exported function for example, it will appear on the Problems listing, but the Location column has "line 0". Also there is no yellow mark in the left margin of the editor window. The same goes for compiler errors: no red marks.

@vladdu
Copy link
Collaborator

vladdu commented May 1, 2022

I think that the problem is that Eclipse requires Java 11 since 4.17 and erlide is still using java 8. I have a branch where I updated the java version, but it's a bit tricky because also maven and other tools need updates and I'm not sure if I can test it all.

There is also a possible issue if you have Erlang 25 installed, as it can't load beam files compiled with older versions (it's possible that even Erlang 24 has issues). Rebuilding that part will be a lot of work and some features will probably be dropped (most importantly, the debugger).

Unfortunately I am not really maintaining this project anymore, and as time went by it is harder and harder to bring it back in sync with Java and Erlang...

@fowlay
Copy link
Author

fowlay commented May 1, 2022

Ok, thanks for many hints. I will try out some combination that works reasonably well. I haven't got into OTP 25 yet at least...

@fowlay
Copy link
Author

fowlay commented May 3, 2022

I stepped down to the following combination:
Oracle JDK 1.8.0_202-b08
Eclipse 4.16.0.v20200604-0951
OTP 24.2.1
Erlide 0.56.0.201909301105
but yellow and red marks in the editor windows still don't appear. Also the Problems listing says "Line 0" for everything. Will keep trying..

@vladdu
Copy link
Collaborator

vladdu commented May 3, 2022

If you go to window->preferences->erlang->troubleshooting, is the connection to the erlang runtime working?

@fowlay
Copy link
Author

fowlay commented Jun 6, 2022

Sorry, I haven't kept that setup, so can't check.

@fowlay
Copy link
Author

fowlay commented Jun 6, 2022

Recently I made a "least effort" Erlide installation, accepting default offers all the way. The yellow marks work! Version details are

xubuntu 20.04.4
JDK provided with OS: OpenJDK 11.0.15
Eclipse IDE for Enterprise Java and Web Developers 4.23.0 (2022-03) - EE since I wanted the .md editor
OTP 22
Erlide 0.6.4, from https://erlide.org/update

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

No branches or pull requests

2 participants