def get_cache_dir(): path = os.path.join(sublime.cache_path(), 'GotoUsage') if not os.path.exists(path): os.mkdir(path) return path