You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a new project from an existing folder. Some .py-files in the Project explorer had an "Edit" context menu, others only an "Open" context menu. Drag and drop into the editor would also not work.
A short look in the sources revealed that in explorer.py line 261:
def create_file_manage_actions
only utf encoded files are accepted as editable.
I have no problem with this behavior but it should be easy to find in the documentation.
What steps will reproduce the problem?
Create a .py file with ANSI encoding and try the context menu
Versions and main components
Spyder Version: 3.0.1
Python Version: 3.5.2
Operating system: Win 10
Dependencies
Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
ccordoba12
changed the title
Edit context menu appears only for utf files
Edit context menu appears only for utf-8 files in project explorer
Nov 1, 2016
rlaverde
added a commit
to rlaverde/spyder
that referenced
this issue
Nov 2, 2016
Description of your problem
I created a new project from an existing folder. Some .py-files in the Project explorer had an "Edit" context menu, others only an "Open" context menu. Drag and drop into the editor would also not work.
A short look in the sources revealed that in explorer.py line 261:
def create_file_manage_actions
only utf encoded files are accepted as editable.
I have no problem with this behavior but it should be easy to find in the documentation.
What steps will reproduce the problem?
Versions and main components
Dependencies
Please go to the menu entry
Help > Optional Dependencies
(orHelp > Dependencies
), press the buttonCopy to clipboard
and paste the contents below:
jedi >=0.8.1 : 0.9.0 (OK)
matplotlib >=1.0 : 1.5.3 (OK)
nbconvert >=4.0 : 4.2.0 (OK)
numpy >=1.7 : 1.11.2 (OK)
pandas >=0.13.1 : 0.19.0 (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.5.4 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.3.1 (OK)
sympy >=0.7.3 : 1.0 (OK)
The text was updated successfully, but these errors were encountered: