button to disable context switch on variable selection

Are you missing a feature? Request its implementation here.
jokester01au
Posts: 64
Joined: Tue May 17, 2005 9:16 am

button to disable context switch on variable selection

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: button to disable context switch on variable selection

Post 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
Radu
Posts: 9473
Joined: Fri Jul 09, 2004 5:18 pm

Re: button to disable context switch on variable selection

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply