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

Extend the API to add custom file opener #9839

Closed
iamolivinius opened this issue Jul 27, 2016 · 4 comments
Closed

Extend the API to add custom file opener #9839

iamolivinius opened this issue Jul 27, 2016 · 4 comments
Assignees
Labels
api *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality

Comments

@iamolivinius
Copy link

I wanted to port the pdf-view extension for atom to vscode.

One thing that I came across that I don't know how to do it in vscode is atom's ability to add custom file openers: https://atom.io/docs/api/v1.8.0/Workspace#instance-addOpener

I'm pretty new to vscode so correct me if I'm wrong but without such API one would have to take a detour through the command palette to open a PDF file with pdfjs and the intuitive way via "Open File..." and (double) clicking on the file tree wouldn't work.

@kieferrm kieferrm added feature-request Request for new features or functionality api labels Aug 1, 2016
@kieferrm
Copy link
Member

kieferrm commented Aug 1, 2016

Yes, you would have to go through the command pallet.

@jrieken
Copy link
Member

jrieken commented Aug 2, 2016

Also, you can now add commands to the context menu like the markdown extension does

@jrieken
Copy link
Member

jrieken commented Nov 17, 2017

/duplicate of #29194

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 17, 2017
@vscodebot
Copy link

vscodebot bot commented Nov 17, 2017

This issue has been closed because it is already tracked by another issue. See also our GitHub issues to search for existing issues and our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Nov 17, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api *duplicate Issue identified as a duplicate of another issue(s) feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

3 participants