google-code-export / winpython

Automatically exported from code.google.com/p/winpython
2 stars 1 forks source link

%ed can not set to other editor beside of notepad in windows 7 #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.%ed in qtconsole will invoke notepad in windows 7
2.setting c.TerminalInteractiveShell.editor in profile can set %ed to other 
editor, but c.TerminalInteractiveShell.editor wont work in qt-console, setting 
both in ipython_qtconsole_config.py/ipython_config.py won't work.
3.profile created in cmd by ipython profile create

What is the expected output? What do you see instead?
%ed will invoke other editor such as notepad

What version of the product are you using? On what operating system?
winpython 2.7.4, windows 7

Please provide any additional information below.

Original issue reported on code.google.com by keekyc...@gmail.com on 6 Jun 2013 at 8:27

GoogleCodeExporter commented 9 years ago
setting c.IPythonWidget.editor wont work either

Original comment by keekyc...@gmail.com on 6 Jun 2013 at 8:29

GoogleCodeExporter commented 9 years ago
Are you really doing those manipulations in the WinPython user directory ?
(i.e. in [WinPython install dir]\settings)

Original comment by pierre.raybaut on 9 Jun 2013 at 7:33

GoogleCodeExporter commented 9 years ago
yes, [WinPython install dir]\settings)
ipython_config.py and ipython_qtconsole_config.py both setting 

c.IPythonWidget.editor = 'E:/Program Files/Notepad++/notepad++.exe'
c.TerminalInteractiveShell.editor = 'E:/Program Files/Notepad++/notepad++.exe'

But:
execute ipython in cmd, %ed works fine
but in qt console, %ed will not popup the editor

C attachment

Original comment by keekyc...@gmail.com on 10 Jun 2013 at 12:35

Attachments: