Skip to content

Declare folder support in Info.plist on macOS #146977

@sindresorhus

Description

@sindresorhus

Does this issue occur when all extensions are disabled?: N/A

  • VS Code Version: 1.66
  • OS Version: macOS 12.3

VS Code supports opening folders directly, but it does not declare folder support in CFBundleDocumentTypes in Info.plist. This means apps with a "Open With" functionality cannot automatically list VS Code in a list of apps for users to choose from.

Solution: Add public.folder to supported document types.
Example: https://github.com/ImageOptim/ImageOptim/blob/d8d6bc528f0b19253585d824851e320db3261d03/imageoptim/Info.plist#L107-L118

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions