(path: string)
| 437 | } |
| 438 | |
| 439 | function handleDelete(path: string): void { |
| 440 | logForDebugging(`[keybindings] Detected deletion of ${path}`) |
| 441 | |
| 442 | // Reset to defaults when file is deleted |
| 443 | const defaultBindings = getDefaultParsedBindings() |
| 444 | cachedBindings = defaultBindings |
| 445 | cachedWarnings = [] |
| 446 | |
| 447 | keybindingsChanged.emit({ bindings: defaultBindings, warnings: [] }) |
| 448 | } |
| 449 | |
| 450 | /** |
| 451 | * Get the cached keybinding warnings. |
nothing calls this directly
no test coverage detected