CodeEditApp/CodeEdit

๐Ÿž Binary files are previewed as text files in Open Quickly and single file window

plbstl opened this issue ยท 1 comments

Description

The fix in #1707 did not include previewing files in Open Quickly and single file window.

Related to:

To Reproduce

Open Quickly:

  1. Open a folder containing an image in CodeEdit.
  2. Search for an image file in Open Quickly.
  3. Make sure the preview pane is expanded by toggling the icon in the right side of the Open Quickly modal.

open quickly preview toggle btn

Single file window:

  1. Drag and drop an image file on the CodeEdit dock icon

Expected Behavior

Non text files should be properly previewed in Open Quickly modal and single file window.

Version Information

CodeEdit: 0.1.0-alpha (38)
macOS: 14.5
Xcode: 15.4

Additional Context

No response

Screenshots

No response

I can start working on this when #1790 is merged.

Edit: working on this.