-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fast file switch and fast symbol search do not work properly if the editor is splitted #5057
Comments
Thanks for reporting this problem. We'll take a look at it in a future release. |
A small note: they have worked properly in the versions before Spyder 3.2 |
I have seen that they also don't work on a second window which is created by the "New window'' selection, as with the split panels. I believe this is a bug rather than enhancement and it became broken with version 3.2. I was using these fast switching abilities very frequently in the previous versions, they're really very useful features, so it's a bit frustrating for me now. Hope there is a chance to fix it soon. Thank you for all of your great work on Spyder! |
This bug was introduced in PR #4626. Following this PR, Ctrl-P does not open the a file switcher per editor anymore, but a global file switcher instead. This new global switcher can also includes files from other plugins, such as Notebook plugin (see Issue #4575 for more details). The problem we have here is that, new editor stacks added to the editor plugin by splitting are never registered with this global file switcher. Only the first one is when the editor plugin is registered with Spyder's main window. So this need to be done in order for this to work also with split editors. |
Thanks for wanting to solve this one @jnsebgosselin! |
Description
Fast file switch and fast symbol search do not work on the split panels. They only work in the first (main) panel, whether there is a split or not.
What steps will reproduce the problem?
Fast file switch:
Fast symbol search:
What is the expected output? What do you see instead?
Fast file switch:
expected: the selected file is shown the split panel
actual: the current file in the panel is not replaced
Fast symbol search:
expected: the line of the selected symbol should be highlighted in the split panel
actual:
Please provide any additional information below
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: