Author Topic: References tool window improvements  (Read 1686 times)

fporter

  • Junior Community Member
  • Posts: 5
  • Hero Points: 2
References tool window improvements
« on: July 22, 2021, 08:02:08 PM »
Hello,
While using the References tool window I've found a something that might improve its usability.

When used with the preview pane visible (side by side, so preview gets a large area and the references tree view is smaller) the view and stack buttons are all the way on the right, so to navigate the tree and move around in the references stack requires mousing all the way from one side of the Reference tool window to the other side and back.  Please move the view buttons and references stack to the left side of the references tool window.

I've also used the References tool window as suggested in help:
"Tip
When working with a large display, it can be beneficial to relocate the References tool window to the lower-left corner of the editor, docked below the tool window group containing Files, Projects, Defs, and Symbols, and to the left of the tool window group containing the Preview window. In this configuration, you can switch the References tool window to use the single-pane view.
"

This does make the Reference tree and stack easier to use. However when i mouse from the References tool tree view to the Preview tool window the Preview jumps to whatever was under the cursor or selected in the active editing window.

If the Reference tool window view and stack nav buttons were on the left side of the Reference tool window then setting things up per the help tip would be unnecessary and also avoid the Preview window from jumping around as it does.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3925
  • Hero Points: 515
Re: References tool window improvements
« Reply #1 on: July 23, 2021, 11:12:37 PM »
Thanks for the suggestions.

Graeme

  • Senior Community Member
  • Posts: 2765
  • Hero Points: 342
Re: References tool window improvements
« Reply #2 on: July 24, 2021, 12:42:53 AM »

You might be able to stop the preview window from jumping by setting def_tag_hover_preview to zero.  When you hover the mouse cursor over an entry in the references tree view, it makes the preview window show that entry.  Try setting it to zero using the "set macro variable" command in the macro menu - or the set-var command on the command line if you don't want the hovering behaviour.

There is also def_tag_hover_delay and def_tag_hover_editor_delay  - see the help.
The advantage of having the preview window show stuff from the refs window is that you save screen space if you have the refs toolwindow visible all the time.  See the "preview tool window" options in the settings dialog if you didn't already set it up.  It allows you to select which toolwindows affect the content of the preview window.