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

macOS: allow to specify Visual Studio Code as generic "open with" application in finder #191879

Closed
Offirmo opened this issue Aug 31, 2023 · 6 comments
Labels
feature-request Request for new features or functionality macos Issues with VS Code on MAC/OS X

Comments

@Offirmo
Copy link

Offirmo commented Aug 31, 2023

This is an intentional re-open of #99473 (which I can’t reopen or comment on)

First thanks for the amazing, fast, versatile VSCode!

On macos (last version Ventura fully up to date), while it’s possible to re-assign a file extension to be opened by VSCode (as outlined in the previous ticket), VSCode is not registered as a generic "open with" application in finder, which makes it inconvenient to open exotic text files: (here a .git/config)

Screenshot 2023-08-31 at 16 36 59

As you can see in the screenshot above, when right-clicking on an extensionless file, a few apps are listed, but NOT VSCode.

As a generic editor, VSCode should be able to register as a "generic" app like the other do.

Another example: .editorconfig

Screenshot 2023-08-31 at 16 39 00

It seems that iTerm managed to register as a "generic/joker" app. As a generic editor, VSCode should do the same.

@Offirmo
Copy link
Author

Offirmo commented Aug 31, 2023

I’ve asked the iterm devs (hopefully politely) how they did it https://gitlab.com/gnachman/iterm2/-/issues/11088

@deepak1556
Copy link
Contributor

Feel free to send a PR if you find out how to achieve this feature, thanks!

@deepak1556 deepak1556 added feature-request Request for new features or functionality macos Issues with VS Code on MAC/OS X labels Aug 31, 2023
@deepak1556 deepak1556 removed their assignment Aug 31, 2023
@VSCodeTriageBot VSCodeTriageBot added this to the Backlog Candidates milestone Aug 31, 2023
@VSCodeTriageBot
Copy link
Collaborator

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@emartinez06
Copy link

emartinez06 commented Sep 1, 2023

Feel free to send a PR if you find out how to achieve this feature, thanks!

In this file, more file types can be added as for the examples provided above.

https://github.com/microsoft/vscode/blob/main/build/lib/electron.ts

After build, that should generate the Info.plist file and that should allow to use VSCode for more file types.

@VSCodeTriageBot
Copy link
Collaborator

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@VSCodeTriageBot
Copy link
Collaborator

🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 31, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality macos Issues with VS Code on MAC/OS X
Projects
None yet
Development

No branches or pull requests

5 participants