root file item
in the Outline Explorer and to sync the changes with the tabbar of the corresponding EditorStack.Related Issues : ~#885~, #1986, #2549, #3014, #7053, #7976
https://github.com/spyder-ide/spyder/pull/7968#discussion_r221500554 by @CAM-Gerlach:
Of course, the outline explorer is still ordered alphabetically, rather than the order of the tabs in the Editor. Presumably out of scope for now, but if/when you make that change, if 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.
Also, to note, the outline explorer only show Python files, so it isn't a true file switcher for more general cases. Perhaps, as a longer-term idea, we could have an option to show them (just the files without the outlines, of course).
https://github.com/spyder-ide/spyder/pull/7962#issuecomment-425751960 by @ccordoba12 :
My recommendation is to highlight the current file and class/method/cell/function by making the selected element to have a different background color, like VSCode does:
I'd also like to add another suggestion here: Add a fuzzy search widget to filter by file names.
@jnsebgosselin
I found two more that would/could be solved here.
And if this is meant to be a "catch all" issue maybe #7976
Update:
"Add a way to highlight the currently focused file" was added in PR #9219 and can now be considered as completed.
@jnsebgosselin Maybe parts of PR #9384 would be useful to adapt for the outline explorer fuzzy search, e.g. the widget itself and the fuzzing code? Perhaps even use unified fuzzing code across our various fuzzy searches (variable explorer, outline, file switcher, completion of possible, etc.)?
Unambiguous filenames: