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 explorer highlighted item doesn't change when "Follow cursor position" is unchecked

See original GitHub issue

This is a regression that was introduced by the migration of the outline explorer to LSP.

In the outline explorer, when the option Follow cursor position is unchecked, the outline explorer should highlight the lowest item in the tree corresponding to the cursor position, without expanding anything.

This is an animation that shows how this was working before the migration to LSP:

outline_explorer_highlight_working

This is an animation showing how it works after the migration to LSP.

outline_explorer_highlight_NOT_working

Versions

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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
jnsebgosselincommented, Nov 4, 2020

Because I don’t know how hard it’ll be to implement.

Ok thank you. In that case, maybe I can help with this. I’m not very good with all the stuff that was added lately related to the pyls, but I guess I can learn.

0reactions
jnsebgosselincommented, Nov 25, 2020

What is changed too with spyder 4.2.0 is that from outline lines breaker (like #—… - #) and sections (lines starting with ###) arent recognised.

@MCilento93 I think this is being taken care of in https://github.com/spyder-ide/pyls-spyder/pull/10

Read more comments on GitHub >

github_iconTop Results From Across the Web

Outline exporer items auto expands to follow cursor position in ...
Problem Description After PR #13109, the outline explorer is expanded automatically to follow where the cursor is in the editor.
Read more >
Mouse cursor disappears in any dialogue or text box or ...
c. Click the Pointer options tab and uncheck Hide pointer while typing. d. Click on Apply and check the issue. Let us know...
Read more >
Eclipse does not highlight matching variables - Stack Overflow
Try: window > preferences > java > editor > mark occurrences. Select all options available there. Also go to: Preferences > General >...
Read more >
Outline — Spyder 5 documentation
Follow cursor position : Automatically highlight and expand the entry corresponding to the current cursor position in the Editor.
Read more >
How to Fix the Most Annoying Things in Windows | PCMag
In regedit navigate to HKEYCURRENTUSER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3. Double-click on Settings on the right.
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