[ANN] IntelliTail 2.1 released

Bug fix:
- Fixed ArrayIndexOutOfBounds when filtering result in empty buffer.
- Copy button is no longer enabled when there's no selected text.

New features:
- Added search facilities.
- Added simple keyboard navigation (arrow keys and home/end).
- Added history of recent files. (shift-click on open file button)

Changed features:
- Redid filtering. Multiple filters are possible now.


REQUEST

As it is my objective to keep this plugin intuitive, I would like to receive some feedback and suggestions on the filtering mechanism. I've put a lot of work in it, but I'm not sure if it's easy and straightforward enough to use. Please help me out improving this feature.

Bart

10 comments

Hello Bart,

I've got this exception with new IntelliTail 2.1 while mouse clicking in
new Filter Settings panel. It's quite reproducable for me.
I'm using IDEA 5.0.2 (build #3542), WinXP SP2.

Error during dispatching of java.awt.event.MouseEvent[MOUSE_PRESSED,(115,751),button=1,modifiers=Button1,extModifiers=Button1,clickCount=1]
on frame0: Index: 1, Size: 1
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.intellij.plugin.tail.ui.filter.FilterDialog$FilterTableModel.setValueAt(FilterDialog.java:448)
at javax.swing.JTable.setValueAt(JTable.java:1875)
at javax.swing.JTable.editingStopped(JTable.java:3333)
at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:124)
at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:329)
at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:214)
at javax.swing.JTable$GenericEditor.stopCellEditing(JTable.java:3667)
at javax.swing.JTable.editCellAt(JTable.java:2616)
at javax.swing.plaf.basic.BasicTableUI$Handler.adjustFocusAndSelection(BasicTableUI.java:922)
at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:889)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.Component.processMouseEvent(Component.java:5485)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:1)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


0

Super Plugin, very useful !!!

My first suggestion is to highlight all founded hits of searched text with a configurable color.

Greetings
Henne

0

Can you provide more info on this. I can't reproduce the bug.
Have you got a filter configured? Where are you clicking?

Bart

0

Normally, that's what the filters are meant for. The only difference is that the filter will highlight the entire line.

Bart

0

Hello Bart,

I have nothing to say but great job. It is exactly the tool I was looking
for. It would be nice if filter at the specific column can be done. For example,
it would be nice to catch log4j error level or thread id. It would be even
nicer if also color highlighting can be applied as well.

Nat

Bug fix:
- Fixed ArrayIndexOutOfBounds when filtering result in empty buffer.
- Copy button is no longer enabled when there's no selected text.
New features:
- Added search facilities.
- Added simple keyboard navigation (arrow keys and home/end).
- Added history of recent files. (shift-click on open file button)
Changed features:
- Redid filtering. Multiple filters are possible now.
REQUEST

As it is my objective to keep this plugin intuitive, I would like to
receive some feedback and suggestions on the filtering mechanism. I've
put a lot of work in it, but I'm not sure if it's easy and
straightforward enough to use. Please help me out improving this
feature.

Bart



0

I'm not sure if I completely understand your requests. The filtering mechanism should be capable of doing both.

When adding a filter to a monitored file you can select the foreground and background color for displaying matching lines.

For the error level or thread id, it should be possible to acquire this using a regex filter. Maybe there's a way to improve the filtering to make this simpler though.

Bart

0

Uploaded version 2.1.1 containing two bug-fixes:

Fixed the load of NPE's occurring when closing all monitored files.
Fixed displaying of color chooser when color labels are disabled.

0

Hello Bart,

What I mean is that to search only for keyword at a specific location i.e.

2/3/06 INFO dasdsaodksaoda
2/3/06 ERROR info
2/3/06 INFO dasdsaodksaoda
2/3/06 INFO ERROR

if i want to filter log4j just for "ERROR" level, it should match only the
second line but not the others.

I'm not sure if I completely understand your requests. The filtering
mechanism should be capable of doing both.

When adding a filter to a monitored file you can select the foreground
and background color for displaying matching lines.

For the error level or thread id, it should be possible to acquire
this using a regex filter. Maybe there's a way to improve the
filtering to make this simpler though.

Bart



0

Adding following regex filter to the file should be capable of doing what you want:

^[0-9]{1,2}/[0-9]{1,2}/[0-9] ERROR

I'm thinking on how to perform filtering on column(s), but I'm not sure if it is really needed.

Bart

0

Hello Bart,

Can you provide more info on this. I can't reproduce the bug. Have you
got a filter configured? Where are you clicking?

Bart


Sorry for delay with answer...
After I installed new 2.1.1 build, I can't reproduce this NPE. Seems like
you fixed it.

Andrey


0

Please sign in to leave a comment.