Problem jumping to method
Brought to you by:
gianasista
Feedback per mail:
So I have a class under test, and I put my cursor in one method that is only called once from my unit test class. I have the "extended search" flag turned on. I executed the "jump-to-test" function. It went to the unit test, but it only went to the last location I was at in the file. If I didn't have that editor window at the time, it just went to the top of the file.
I can reproduce problems when switching to test method.
I did not active the extended search flag and tried a simple scenario but it did not jump to the method although a marker is next to the method under test.
The JumpActionExecutor is called without a method.
The reason is that the Jumper class calls the method
public void executeJumpAction(IFile file)
instead of
public void executeJumpAction(IEditorPart editorPart)
Fixed in HEAD.