[ANN] Lysosome 1.1 - A tiny selection plugin
Lysosome provides an easy way to jump to the start or the end of a
selection using the cursor keys. It now also displays info about the
current selection in the status bar.
Tested with Intellij IDEA builds #2235 and #3200 and should work with
any build in between.
http://www.intellij.org/twiki/bin/view/Main/LysosomePlugin
Bas
请先登录再写评论。
NPE
where: in dialogs (NOT in an text editor)
how to reproduce:
press F5 (=> copy class), and move the caret in the selection
java.lang.NullPointerException
at
net.intellij.plugins.lysosome.LysosomePlugin.selectionChanged(Unknown
Source)
at com.intellij.openapi.editor.impl.t.a(t.java:257)
at com.intellij.openapi.editor.impl.t.setSelection(t.java:14)
at com.intellij.openapi.editor.a.cp.a(cp.java:135)
You are an excellent bug finder Alain. I have uploaded version 1.1.1 with a fix.
Bas
Why dont you compile you code with debug=true? Then the bug hunting can be easier as we can see the linenumber in the stack-traces.
It was just an experiment. I was trying different compilers and settings to see how small I could get the plugin. Accidentally I had left compiling without debug on in the build file. The next version will be with debug info.
But with the entire plugin being just two small source files, it wasn't hard to find the bug even without the debug info:-)