-
-
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
Default file extension should be .py instead of empty #3436
Comments
Well, we extended the Editor in Spyder 3.0 so that it can handle any type of file (instead of just Python). That's why we think it's better not to offer any default extension when saving files. |
That makes sense indeed but then there is no need for the "Save as type" dialog I think. |
Could you explain |
In the screenshot above, there is an empty save as type pulldown menu with no options. If I understand @ccordoba12 correctly, we would have an empty choice by default. However, assume that I do have a choice and it wouldn't hurt if I can just select from a list for pyc, rst, py files. This wouldn't change any defaults but still can accomodate for quick access to file types |
My main issue (well, first world problems :) ) is that save dialog opens and the untitled0.py is selected then I type something and hit enter without the file extension. Then of course from code completion to syntax coloring everything turns off. So I manually find the file add the extension to the file and then reopen it in spyder. I was wondering if this can be a bit easier on the punisment of user stupidity like myself. |
I think we can enable the save as combobox then :-), definitely an enhancement |
My inner laziness thanks you 😄 |
This is one issue you can start to work on @malliwi88. |
Hello I have This Pull request for solve this Issue ;) @ilayn, @goanpeca |
@malliwi88 I have made my initial comments on the PR |
SOLVED Issue #3436: Default file extension should be .py
A late thank you to all involved!! |
The default file type is empty in the save dialogs
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The expected outcome (I think) the file should be save with a defauly .py extension instead of no-extension state.
Please provide any additional information below
You can see from the screenshot possible extension recommendation windows is also empty
Versions and main components
Dependencies
jedi >=0.8.1 : 0.9.0 (OK)
matplotlib >=1.0 : 1.5.1 (OK)
nbconvert >=4.0 : 4.2.0 (OK)
numpy >=1.7 : 1.11.1 (OK)
pandas >=0.13.1 : 0.18.1 (OK)
pep8 >=0.6 : 1.7.0 (OK)
pyflakes >=0.6.0 : 1.3.0 (OK)
pygments >=2.0 : 2.1.3 (OK)
pylint >=0.25 : 1.6.4 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.4.6 (OK)
sympy >=0.7.3 : None (NOK)
The text was updated successfully, but these errors were encountered: