SublimeREPL
SublimeREPL copied to clipboard
Feature Request: Default file_path
When I start a new python IDLE session, if there is no file open or currently active view (all tabs closed) IDLE's current working directory will default that of the last file opened by sublime.
It would by nice to have some control via settings to set a default file_path.
Right now, I found a work around by adding:
if av is None:
#set python IDLE default Current Working Directory (if no window is open)
res["file_path"] = 'C:\Documents and Settings\User\Desktop'
return res
filename = av.file_name()
if not filename:
#set python IDLE default Current Working Directory (if no file is open)
res["file_path"] = 'C:\Documents and Settings\User\Desktop'
return res
To the def _subst_for_translate(window): method in the subplimerepl.py file.
It does what I need, but it will get overwritten every time it updates.
PD: Thanks again for the wonderful plugin, it has made my journey to learn programming so much more pleasant. Kudos from Mx.
Nice idea :-). I'll try to add something like this.
Thank you :-)