Page 1 of 1

button to disable context switch on variable selection

Posted: Fri Nov 30, 2007 3:14 am
by jokester01au
When debugging and you click on a variable, the editor context automatically jumps to the variable declaration. I can see that this could be useful at certain times, but I find that I almost always would rather that the editor stayed exactly where it was - ie the current execution point.

This is much more a problem in xslt 2 because the value of nearly every variable is invisible until you click on it and it comes up in the nodes/values set view.

As it happens, this feature is very similar to the "link with editor" button in eclipse's "Package explorer" view (and others I think). This button links enables the package explorer to stay highlighted on the file corresponding to the active editor.

This is the same as the variable context-switching except in reverse.

I think that the variables view should have an identical "link with editor" button so that I can turn this feature on and off as required.

Joe.

Re: button to disable context switch on variable selection

Posted: Fri Nov 30, 2007 4:31 pm
by sorin_ristache
Hello,
jokester01au wrote:This is much more a problem in xslt 2 because the value of nearly every variable is invisible until you click on it and it comes up in the nodes/values set view.
Thank you for pointing out this switch of focus from the current execution point to the declaration of the variable. We will add a "link with editor" button as the one from the Package Explorer view.


Regards,
Sorin

Re: button to disable context switch on variable selection

Posted: Thu Aug 26, 2010 8:42 am
by Radu
Hi,

Starting with Oxygen 12 just clicking a variable in the Variables view will not switch focus to the variable declaration. You will have to double click it in order to achieve this.

Regards,
Radu