#reveal #open-file #editor #open

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

#91 in Text editors

Download history 123/week @ 2024-08-12 21/week @ 2024-09-16 5/week @ 2024-09-23 7/week @ 2024-09-30

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

~1.7–9.5MB
~112K SLoC