We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2306d1b commit 49f7084Copy full SHA for 49f7084
cursorless-talon/src/apps/vscode_settings.py
@@ -67,6 +67,11 @@ def vscode_get_setting_with_fallback(
67
68
def pick_path(paths: list[Path]) -> Path:
69
existing_paths = [path for path in paths if path.exists()]
70
+ if not existing_paths:
71
+ paths_str = ", ".join(str(path) for path in paths)
72
+ raise FileNotFoundError(
73
+ f"Couldn't find VSCode's settings JSON. Tried these paths: {paths_str}"
74
+ )
75
return max(existing_paths, key=lambda path: path.stat().st_mtime)
76
77
0 commit comments