Community
Participate
Working Groups
I am not sure if this is a JDT issue or ours but it should be investigated within the context of contributors to the TaskList. When you select a jar file the task list does not update - that is if you have chosen to show only errors on a selected resource they are not cleared out by selecting a jar file. STEPS 1) Open the packages view 2) Select a method with errors 3) Select "Show on selected resource only" - it will just show the errors for the method 4) Select a random jar file - no update. We should clear the list out if the selection changes to no resource
Confirmed that this is still occurring on I20031209.
This happens because the problems view only refreshes when you select an IResource, and external .jars aren't IResources. I experimented with a change that cleared all errors when you didn't have an IResource in your selection, but this had the unfortunate consequence of clearing the progress view whenever you click on the Outline view or any other selection provider that does not contain IResources... and I'm not sure which behavior is more annoying. In case anyone's interested, you can make the change in MarkerView.updateNeeded by removing the < 1 checks on the following lines: if (newResources == null || newResources.length < 1) { return false; } if (oldResources == null || oldResources.length < 1) { return true; }
This is a trivial code change. The question is whether or not this behavior is desirable.
*** Bug 18458 has been marked as a duplicate of this bug. ***
This is working in 3.2 M6