sublimetext3 - Is there a way to trigger a "folder open" from Sublime Text 3 API? -
i working on plugin generate file , need prompt user somehow selects folder these files generated.
is there way sublime text 3 api?
probably straightforward way open input box (sublime.show_input_panel()
) default value , allow user enter own path if desired.
if using standard python 3 distribution python.org, use tkinter.tix.dirselectdialog()
or tkinter.filedialog
, stripped-down version of python 3.3.3 shipped sublime text 3 not include several modules, including tkinter
. if graphical interface important you, may want consider including small gui toolkit easygui plugin.
Comments
Post a Comment