Force inspection rerun? Follow
Hi all,
Is there a way my plugin can force the inspections to be run again for a
file? I'm finding that my inspection which checks log calls in a Java
source file against the resource bundle is not being rerun when the
resource bundle properties file is modified by hand and an error which
was previously detected (missing resources for instance) is still being
shown.
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001
Please sign in to leave a comment.
Gordon Tyler wrote:
Not through the OpenAPI unfortunately.
--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Maxim Shafirov (JetBrains) wrote:
>> Is there a way my plugin can force the inspections to be run again for
>> a file? I'm finding that my inspection which checks log calls in a
>> Java source file against the resource bundle is not being rerun when
>> the resource bundle properties file is modified by hand and an error
>> which was previously detected (missing resources for instance) is
>> still being shown.
It turns out that it was a problem with my plugin caching and not
updating the cache properly when the propertie file was modified. Once I
fixed that the problem went away.
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001