open-ide

Opens the folder in editor from command line

Usage no npm install needed!

<script type="module">
  import openIde from 'https://cdn.skypack.dev/open-ide';
</script>

README

:desktop_computer: IDE Open

Opens a folder in editor from cli

:card_index: Contents

open-ide

Usage

:building_construction: Installation

Install open-ide globaly from npm:

npm i -g open-ide

:rocket: Add editor

open-ide add <alias> <path>

Example:

open-ide add vscode C:\PATH\TO\VSCODE\Code.exe

:open_file_folder: Open folder in editor

open-ide

Note: if you have only one editor declared, it will be used as default, otherwise open-ide will ask you to choose the editor (from a list)

:axe: Remove editor

open-ide rm <alias>

Example:

open-ide rm vscode

:card_file_box: List editors

open-ide list