Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>open-file-in-external-appNew to Visual Studio Code? Get it now.
open-file-in-external-app

open-file-in-external-app

puppetmaster

|
1 install
| (0) | Free
Open File in External App
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

open-file-in-external-app

这是一款用于配置文件打开方式的VS Code插件,作用类似于Open in External App

一 特点:

  1. 通过setting.json配置后通过右键.md/.png等文件的方式以第三方应用打开文件
  2. 主要依靠VS Code支持的内部命令onCommand:openInTerminalApp.open实现,稳定且高效
  3. 插件内部已通过清理环境变量的方法将Electron应用的打开配置进行更新,无需额外配置isElectron

二 使用方法:

"openInTerminalApp": [
    {
        "extensionName": "拓展名",
        "appName": "应用名称",
        "appPath": "应用路径",
        "args": ["${file}"] //参数配置
    },
    {
        ...
    }
]

三 示例:

"openInTerminalApp": [
    // 使用Typora打开Markdown文件
    {
        "extensionName": ".md",
        "appName": "Typora",
        "appPath": "D:\\Typora\\Typora.exe",
        "args": ["${file}"]
    }
]

如果有想要加的功能或有bug请提issue:

项目地址:https://github.com/PuppetRuler/open-file-in-external-app

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft