UNPKG

launch-ide

Version:

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

7 lines (6 loc) 505 B
export type Editor = 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'code' | 'code-insiders' | 'codebuddy' | 'codium' | 'comate' | 'cursor' | 'colin' | 'emacs' | 'goland' | 'hbuilder' | 'idea' | 'notepad' | 'phpstorm' | 'pycharm' | 'qoder' | 'trae' | 'rider' | 'rubymine' | 'sublime' | 'vim' | 'webstorm' | 'windsurf' | 'zed'; export type Platform = 'darwin' | 'linux' | 'win32'; export type EDITOR_PROCESS_MAP = { [key in Editor]?: string[]; }; export type IDEOpenMethod = 'reuse' | 'new' | 'auto';