def confirm(self, paths, in_parent, data, key):
import functools
window = sublime.active_window()
window.show_input_panel("BUG!", '', '', None, None)
window.run_command('hide_panel');
yes = []
yes.append('Yes, Replace the following items:');
for item in data:
yes.append(SideBarItem(item, os.path.isdir(item)).pathWithoutProject())
no = []
no.append('No');
no.append('Continue without replacing');
while len(no) != len(yes):
no.append('ST3 BUG');
window.show_quick_panel([yes, no], functools.partial(self.on_done, paths, in_parent, key))
评论列表
文章目录