#open-file #editor #open #reveal #visual #file-extension

open_in_editor

Open files or directories in the system-default programmer's editor. Reveal files in file explorer/Finder

4 releases

0.2.1 Aug 13, 2024
0.2.0 Oct 6, 2020
0.1.1 May 14, 2020
0.1.0 May 13, 2020

#90 in Text editors

Download history 112/week @ 2024-08-10 11/week @ 2024-08-17 20/week @ 2024-09-14 6/week @ 2024-09-21 7/week @ 2024-09-28

179 downloads per month

Apache-2.0 OR MIT

19KB
423 lines

Open files in the default editor

You can find what editor is assigned to a given file extension, and tell the editor to open files or folders.

Implementations for:

  • macOS: uses CoreServices.framework, and has special-case workarounds for quirks of Xcode and Sublime Text 3.

  • Unix: uses xdg-mime + gtk-launch and xdg-open as a fallback.

  • Windows: not supported yet.

Dependencies

~2–10MB
~117K SLoC