Liconln,
I plan on including the links in the Warning/Error messages.
As far as quick fix, for the dead simple low hanging fruit it would need to be replace the detected code with this code. Maybe there isnt such any cases.
The next more complicated case is replace detected code with this code template, then we can use the template API in eclipse to fill out the template based on other information.
Then the last level up is to add an action to apply all the windup quick fixes at once.
So there would really just need to be one new API, "getSuggestedReplacment" (or something like that). WHich would then return a block of code to replace the detected code with. Later we can figure out how we could do Templating through that.
Do you think there are any cases where a template would not be needed?
~Ian
From: "Lincoln Baxter, III" <lincolnbaxter@gmail.com>
To: "Windup-dev List" <windup-dev@lists.jboss.org>
Sent: Tuesday, April 28, 2015 11:06:14 AM
Subject: Re: [windup-dev] Sugested Fix Hints
Hey Ian,
Hints are just HTML/Markdown, and don't provide anything that would really be useful for a quick fix at this point, but... they should have the ability to include Links/HREFs as well. If you look at the windup-tooling-api, you should see Hint, Classification, and Link.
How do you envision the quick fix stuff working? What type of information would we need to give you?
Does that answer your question?
Thanks!
~Lincoln
_______________________________________________
windup-dev mailing list
windup-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/windup-dev