Crates.io | open_in_editor |
lib.rs | open_in_editor |
version | 0.2.1 |
source | src |
created_at | 2020-05-13 09:36:50.633279 |
updated_at | 2024-08-13 15:19:00.704136 |
description | Open files or directories in the system-default programmer's editor. Reveal files in file explorer/Finder |
homepage | https://lib.rs/open_in_editor |
repository | https://gitlab.com/kornelski/open_in_editor |
max_upload_size | |
id | 241047 |
size | 18,648 |
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.