new_project.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:CMakeBuilder 作者: rwols 项目源码 文件源码
def _on_done_project_dir(self, text):
        self.project_dir = os.path.join(text, self.project_name)
        if os.path.exists(self.project_dir):
            sublime.error_message('The directory "%s" already exists!' % self.project_dir)
            return
        msg = 'The new project location will be "%s".\n\nPress OK to continue...' % (self.project_dir)
        if sublime.ok_cancel_dialog(msg):
            self.window.show_quick_panel([["C", "A project suitable for C"], ["C++", "A project suitable for C++"], ["C and C++", "A project suitable for both C and C++"]], self._on_done_select_project_type)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号