Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to open file externally by file extension with a specific program #45989

Closed
FloMaetschke opened this issue Mar 16, 2018 · 5 comments
Closed
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code workbench-os-integration Native OS integration issues

Comments

@FloMaetschke
Copy link

Issue Type: Feature Request

It would be nice to be able to configure an external editor/viewer/program for specific file types which results in a custom context menu entry and / or default launch behavior on double click.

Example Settings:

"files.extensions": [
    {
        "ext": ".docx",
        "defaultProgram": "C:\Program Files (x86)\Microsoft Office\root\Office16\Winword.exe %filepath%",
        "contextMenus": [
            {
                "title": "Open in Microsoft Word",
                "command": "C:\Program Files (x86)\Microsoft Office\root\Office16\Winword.exe %filepath%"
            },
            {
                "title": "Convert to PDF",
                "command": "C:\mytool\docxToPDF.exe %filepath% %%input:%filename%.pdf"
            }
        ]
    }
]

VS Code version: Code - Insiders 1.21.0-insider (b76a4a7, 2018-03-02T11:59:42.386Z)
OS version: Windows_NT ia32 10.0.16299

@FloMaetschke
Copy link
Author

VSCode commands should also be considered to be assigned to a user defined context menu maybe?

@bpasero
Copy link
Member

bpasero commented Mar 16, 2018

/findDuplicates

@bpasero bpasero changed the title Feature Request: Open file externaly by file extension with a specific program Allow to open file externally by file extension with a specific program Mar 16, 2018
@bpasero bpasero added feature-request Request for new features or functionality workbench-os-integration Native OS integration issues labels Mar 16, 2018
@bpasero bpasero removed their assignment Mar 16, 2018
@Snapstromegon
Copy link

In my opinion, as I stated in a duplicate not finding this issue, every unsupported filetype should be opened with the default program, unless a keyboardshortcut prevents it.

#50383 was my closed issue, where I mention this in more detail.

@bpasero bpasero added the *out-of-scope Posted issue is not in scope of VS Code label Sep 11, 2018
@vscodebot
Copy link

vscodebot bot commented Sep 11, 2018

This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code workbench-os-integration Native OS integration issues
Projects
None yet
Development

No branches or pull requests

3 participants