-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Description
Related to #1026
Basically files other than supported images are opened as blank text files.
Tested formats
Images (the ones Preview can open, works as normal): .cur, .djvu, .jpg, .jpeg, .png, .heic, .gif, .bmp, .ico
Audio: .mp2, .mp3, .flac, .aac, .m4a, .wav
Videos: .hevc, .3gp, .opus, .wmv, .vob, .mpeg, .mkv, .m4v, .webm, .avi, .mov
Archives: .7z, .rar, .zip
Documents: .pdf, .bin, .ppt, .doc, .ods, .azw3, .mobi, .dfont, .woff
.csv works as a text file
To Reproduce
Attempt to open any of the above files in CodeEdit
Expected Behavior
To either preview the file, show an informative message or a placeholder file icon.
Version Information
CodeEdit: 0.1.0-alpha
macOS: 14.4.1
Xcode: 15.3
Additional Context
Xcode shows a thumbnail image (same one that shows up in Finder) when it is unable to preview a file.
Although, the file icons in the Project Navigator tries to be as close to the file type as possible.
Screenshots

Metadata
Metadata
Assignees
Labels
Type
Projects
Status