-
-
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
New Pyx file fails to save with "Code Formatting" enabled #16166
Comments
VersionsSpyder 5.0.5 | Python 3.8.11 64-bit | Qt 5.9.7 | PyQt5 5.9.2 | Windows 10 DependenciesMandatory:atomicwrites >=1.2.0 : 1.4.0 (OK) Optional:cython >=0.21 : 0.29.24 (OK) |
Hi @Meisterrichter. Thanks for reporting. I can successfully reproduce this behaviour in Spyder 6.0.0 dev0 and Spyder 5.0.5 as well. |
Yep, I totally agree. We need to fix this and we'll try to in our of our future releases. |
What steps will reproduce the problem?
Go to Tools->Preferences->Completion and linting->Code style and formatting and enable "Autoformat files on save" with autopep8 (I'm not sure the provider matters)
Create a new file
Attempt to save the file with .pyx extension
The file appears to be saved, but is not written to disk. The name appears with an asterisk next to it as unsaved in the open file tab. No error message is shown.
This behavior did not exist on Spyder 4. I performed a clean install of Anaconda and did only 'conda update --all' and 'conda install spyder=5'.
The text was updated successfully, but these errors were encountered: