UNPKG

launch-ide

Version:

Automatically recognize the editor by running processes and open the specified file in it.

14 lines (13 loc) 405 B
import { Editor, IDEOpenMethod } from './type'; interface LaunchIDEParams { file: string; line?: number; column?: number; editor?: Editor; method?: IDEOpenMethod; format?: string | string[]; onError?: (file: string, error: string) => void; } export declare function launchIDE(params: LaunchIDEParams): void; export * from './type'; export { formatOpenPath } from './get-args';