button to disable context switch on variable selection

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

button to disable context switch on variable selection

Post by jokester01au » Fri Nov 30, 2007 3:14 am

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: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: button to disable context switch on variable selection

Post by sorin_ristache » Fri Nov 30, 2007 4:31 pm

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: 6541
Joined: Fri Jul 09, 2004 5:18 pm

Re: button to disable context switch on variable selection

Post by Radu » Thu Aug 26, 2010 8:42 am

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