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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 CodeEdit opens most files as blank text files even when a workspace is active #1698

Closed
plbstl opened this issue May 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working navigator UI This is UI related

Comments

@plbstl
Copy link
Contributor

plbstl commented May 1, 2024

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.

xcode file tree view 2

Although, the file icons in the Project Navigator tries to be as close to the file type as possible.

xcode file tree view

Screenshots

codeedit file tree view
@plbstl plbstl added the bug Something isn't working label May 1, 2024
@thecoolwinter thecoolwinter added UI This is UI related and removed other triage needed labels May 6, 2024
@plbstl
Copy link
Contributor Author

plbstl commented May 8, 2024

I鈥檓 currently working on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working navigator UI This is UI related
Projects
Status: 馃弫 Complete
Development

No branches or pull requests

2 participants