question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Outline exporer items auto expands to follow cursor position in latest 4.x

See original GitHub issue

Problem Description

After PR #13109, the outline explorer is expanded automatically to follow where the cursor is in the editor. I think this is a UX regression to what was done in PR #7962.

I think that it is ok that the highlight in the Outline explorer follows the cursor position if the item is already visible, but it should not expand items automatically. That is why we have the Go to cursor position button.

outline_explorer_navig

Versions

  • Spyder version: 4.2.0.dev0 2b8b7f669
  • Python version: 3.7.6 64-bit
  • Qt version: 5.12.5
  • PyQt5 version: 5.12.3
  • Operating System: Windows 10

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
ccordoba12commented, Sep 30, 2020

I think we should preserve the behavior @andfoy added of automatically following the cursor (I find it more useful), but with an option to revert back to the previous behavior.

2reactions
andfoycommented, Sep 30, 2020

Yes, don’t worry, I can add an option on PR https://github.com/spyder-ide/spyder/pull/13885

Read more comments on GitHub >

github_iconTop Results From Across the Web

Outline — Spyder 5 documentation
Follow cursor position : Automatically highlight and expand the entry corresponding to the current cursor position in the Editor.
Read more >
Code Explorer – Outline - Documentation - VisualGDB
This page provides an overview of the Outline view in Code Explorer. Contents. Overview Navigating the Outline Favorite Items Included Files
Read more >
CSS Basic User Interface Module Level 4 - W3C
The UA determines the cursor to display based on the current context. Specifically, auto behaves as text over selectable text or editable ...
Read more >
108766 – Navigator should highlight headings/objects ...
track headings in navigator 'All' Content Navigation View (742.73 KB, ... the pages and the topics regarding the current cursor position ...
Read more >
Visual Studio Code Tips and Tricks
Access all available commands based on your current context. Keyboard Shortcut: Ctrl+Shift+P. Command Palette. Default keyboard shortcuts. All of the commands ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found