()
| 501 | const vscodeFilepath = 'vscode://file/{path}:{line}:{column}'; |
| 502 | |
| 503 | export function getDefaultPreset(): 'custom' | 'vscode' { |
| 504 | return typeof process.env.EDITOR_URL === 'string' ? 'custom' : 'vscode'; |
| 505 | } |
| 506 | |
| 507 | export function getDefaultOpenInEditorURL(): string { |
| 508 | return typeof process.env.EDITOR_URL === 'string' |