|best way to handle conditional quickfixes [message #716064]
||Tue, 16 August 2011 11:24
| Henrik Lindberg
Registered: July 2009
I have quickfixes that makes use of issue data (discovered during
validation) and these quickfixes only apply when there is such data
From what I have concluded, there is no simple way of configuring a
@Fix method that has the additional rule that there must be data
available for the quickfix to be applicable.
The effect is that a quickfix marker is displayed, but nothing happens
A simple solution is naturally to use different issue codes, but this is
not ideal (clutter).
Looking at the code, there is a call to #hasResolutionFor(String), but
this only passes the issue code. To override this requires overriding at
least 4-5 other classes and several methods.
Anyone with suggestions?
Powered by FUDForum
. Page generated in 0.01941 seconds