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.

Order of root file items in the Outline Explorer should be synced with that of the current EditorStack

See original GitHub issue

Problem Description

As mentioned by @CAM-Gerlach in https://github.com/spyder-ide/spyder/pull/7968#discussion_r221500554, the outline explorer is still ordered alphabetically, rather than the order of the tabs in the Editor. It would be nice to have the option to either alphabetize it or make it follow the order of the editor, since both could potentially be useful depending on one’s workflow.

This would be another step forward into making the Outline Explorer a viable proxy for a vertical tabbar for the Editor Stack.

@ccordoba12 @CAM-Gerlach

  • Should we add an option in the context menu for this? Something like: Show files sorted alphabetically or something like that? Checking or unchecking this option would not impact the order of the files in the tabbar of the current EditorStack, only the order of the root file items in the Outline Explorer.

  • Alternatively (or additionally), we could add an action in the context menu (with a corresponding button in the Outline Explorer toolbar) to actually sort the files alphabetically in the Outline Explorer and in the tabbar of the current EditorStack.

Also, do you think that one of the above suggestions could be a valid solution for Issue #5911?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
luciansmithcommented, Oct 11, 2018

I was asked to comment as to whether this proposal would fix my issue with #5911, and for me, it does: the actual tab order in the editor is left alone, but the list of files in the Outline Explorer can be sorted alphabetically. That would be perfect!

0reactions
jnsebgosselincommented, Oct 11, 2018

Thank you both for your feedback @luciansmith and @fgotzens

However, in contrast to @luciansmith this does not entirely fix issue #5911 since I would still be happy if a one-way option to sort the tabs (so no toggling!) would be provided in a future version. Nonetheless: Thank you for your great work so far!

OK thank you, so I will leave #5911 opened until I implement an action to sort the tabs permanently in the cog menu of the Editor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Outline Explorer in Spyder? - python - Stack Overflow
I think the Outline Explorer is made to facilitate navigation inside a long and/or dense Python script. In one look you can see...
Read more >
ftp://ftp.dukane.com/Public/us/FEA/Software/x64/SS...
from spyderlib.plugins.outlineexplorer import OutlineExplorer ... objects are not painted if restored as floating # windows, so we must dock them before ...
Read more >
Understanding Designer for Identity Manager - NetIQ Identity and ...
to that because Identity Manager can synchronize any data that is stored in a connected ... Figure 1-2 The Outline View, Modeler, and...
Read more >
IDERA ER/Studio Software Architect
Creating a Browse-Through Sequence of Diagram . ... explorer can be used to copy files from the Workbench's workspace area even when the....
Read more >
Understanding Designer for Identity Manager
Identity Manager 3.6 Administration Guide. ◇ Outline. The Outline view provides an outline of all of the objects you have open in an...
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