def run(self, pack_textures=True):
path = utils.get_node_content(view=self.window.active_view(),
flags=sublime.CLASS_WORD_START | sublime.CLASS_WORD_END)
imagepath = INFOS.addon.translate_path(path)
if not os.path.exists(imagepath):
return None
webbrowser.open(imagepath)
评论列表
文章目录