-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
PR: Update plugin to Spyder 6 #417
Conversation
This signal was removed in Spyder 6 and AFAICT it did not have any use.
The idea with the new Switcher plugin is that other plugins can depend on it in the same way that they depend on the MainMenu or Toolbar plugins. So, you need to add the Switcher to the OPTIONAL list of plugins and declare methods decorated with on_plugin_available and on_plugin_teardown for it |
Thanks. I have this information in my brain somewhere, but it did not come out when I wrote the PR. Oops! |
No problem. I figured you missed that one because the new Switcher plugin has the same API as the old Switcher widget. Plus, we left a reference to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now, thanks @jitseniesen!
In particular, disconnect signals and kill the server if it is still starting up. This may avoid errors in the CI testing.
This was quite simple, the main change is to adapt to the Switcher plugin.
Fixes #278.