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

Run checks in Eclipse #11

Open
cushon opened this issue Oct 31, 2014 · 7 comments
Open

Run checks in Eclipse #11

cushon opened this issue Oct 31, 2014 · 7 comments

Comments

@cushon
Copy link
Collaborator

cushon commented Oct 31, 2014

Original issue created by alexeagle@google.com on 2012-01-29 at 07:56 PM


ECJ (eclipse compiler for Java) has its own representation of the source. We need to abstract our usage of the AST and symbol table to be able to operate on this representation. Then, we need to figure out where to wire in the execution of our TreeScanners.

@cushon
Copy link
Collaborator Author

cushon commented Oct 31, 2014

Original comment posted by eaftan@google.com on 2013-02-11 at 07:42 PM


Our summer intern might work on this.


Labels: Priority-Low, Type-Enhancement

@cushon
Copy link
Collaborator Author

cushon commented Oct 31, 2014

Original comment posted by eaftan@google.com on 2014-03-04 at 12:13 AM


I think the best way to go about this is to write an Eclipse plugin that runs javac/error-prone. I would be surprised if this doesn't already exist in some form. It's probably worth exploring this, since it might be really easy to do.

Increasing priority to high for the investigation.


Owner: eaftan@google.com
Labels: -Priority-Low, Priority-High

@JeffFaer
Copy link

Has there been any progress on this?

@cushon
Copy link
Collaborator Author

cushon commented Jun 25, 2015

Sorry, no one is working on this currently.

@eaftan
Copy link
Contributor

eaftan commented Jun 25, 2015

We would be happy to take a pull request, if anyone wants to take this on.

@onlynone
Copy link

I noticed that I'm getting the following error in eclipse after enabling error-prone:

Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (execution: default-compile, phase: compile)

According to this stackoverflow answer having an eclipse plugin would help solve this issue. Just wondering if that is related to the work proposed here.

@eperret
Copy link

eperret commented Apr 27, 2023

This would be very useful.

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

No branches or pull requests

5 participants