Inspections API
A few words can be found at
http://www.intellij.org/twiki/bin/view/Main/InspectionPlugins
--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
Please sign in to leave a comment.
Forgot to wish a good luck :)
--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Maxim Shafirov" <max@intellij.net> wrote in message
news:beha4r$9ld$1@is.intellij.net...
>
>
>
>
>
Maxim Shafirov wrote:
In your plugin you are using com.intellij.ui.DocumentAdapter class. Is
it something that should be semi-opened as well?
/kesh
No. It was blind CtrlShiftSpace. I'll upload updated version in a few
minutes.
--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"kesh" <dummy@dummy.com> wrote in message
news:behnkl$s93$2@is.intellij.net...
>
>
>
Maxim Shafirov wrote:
Ok. BTW, is there any way to invoke quick fix from the editor? Should it
appear among possible intentions by clicking Alt-Enter?
/kesh
Done. Thanks!
--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Maxim Shafirov" <max@intellij.net> wrote in message
news:behp1s$2u7$1@is.intellij.net...
>
>
>
>
>
>
Yes. I guess you should look into IDE Options/Errors page. All plugged
inspections (including some bundled) can be configured to show
error/warning/nothing in editor. And it's nothing by default. I feel this
is not very intuitive and seem to need some discussion.
--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"kesh" <dummy@dummy.com> wrote in message
news:behp9q$s93$3@is.intellij.net...
>
>
>
Maxim Shafirov wrote:
Thanks, I've got it. The thing is that I was trying to find the quickfix
intention for "Unused assignment" inspection. This inspection is somehow
broken: there's no quickfix intention and when I use it via "Inspection
window" it doesn't do anything. But when I checked "Access static member
via instance reference" inspection and I worked as I expected.
Thanks,
/kesh
It looks like any inspection without a quick-fix has this problem. Otherwise the API looks really sweet.
Thanks!
--Dave Griffith