Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [flux-dev] quick fix implementation question

Hi Martin,

I brought back my Orion/Flux set up to life yesterday and surprised to see things not working. But I guess my mind was bit rusty. Today after synching the repos and bit of cleaning up, I find them working alright.

One thing to notice is , quick fix needs to be implemented per problem basis as that's the way JDT implements it. At the moment, the only quick fix offered is the "remove modified quick fix". So, try out a simple code like this:

public class  Main {
  abstract int invalid = 0;
}


Now when you hover on the problem, you should see a "Apply quickfix" just below the error message.Clicking on that should remove the keyword "abstract".
I am planning to add more simple quick fixes in the coming days.

Let me know what exactly is the problem you seeing? In my case, I had to reload the Flux plugin, but I am sure you have already tried that.

Regards,
Jay



From:        Martin Lippert <mlippert@xxxxxxxxx>
To:        Flux developer discussions <flux-dev@xxxxxxxxxxx>
Date:        01/27/2015 08:48 PM
Subject:        [flux-dev] quick fix implementation question
Sent by:        flux-dev-bounces@xxxxxxxxxxx




Hey Jay,

I merged your pull request and run everything locally, but I can’t get the quick fix to appear in the editor.
I tried the full Orion UI (not just the embedded editor piece) and I am not sure how to trigger the quick fix to appear. Can you help?

Thanks!
-Martin


_______________________________________________
flux-dev mailing list
flux-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/flux-dev

Back to the top