-
-
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
PR: Enable running renamed and IPython files again #20762
Conversation
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.
Thanks @impact27 for your work on this!
Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
- That's because those plugins can't run them. - Also, transform a logging error into a debug message because there's nothing users can do about it.
- That can happen for some rename operations. - Also, improve some docstrings, fix minor style issues and replace the usage of to_text_string by the str builtin.
@impact27, I disabled running IPython files in the Code Analysis and External Console plugins because they can't handle that file type. I also pushed a fix for a bug I found while testing this locally: if you renamed a Python file to an IPython one in the editor, then it was registered twice, which didn't allow to run it afterwards. |
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.
Thanks @impact27!
Description of Changes
first_execution
so there is no need to confirm every time a new file is run.sig_switch_run_configuration_focus
whih was unusedIssue(s) Resolved
Fixes #20701
Fixes #20715
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: