def get_tooltip_files(self, current_scope):
""" get all files paths which have the current scope"""
files = self.get_immediate_files()
relative_path = sublime.packages_path() + '\\ToolTipHelper\\'
tooltip_files = []
if files:
for file in files:
if file['source'] in current_scope:
full_path = relative_path + file['file_name']
# replace the file name with full path
file['file_name'] = full_path
tooltip_files.append(file)
# print("tooltip_files: " + str(tooltip_files))
return tooltip_files
评论列表
文章目录