CodeEdit
CodeEdit copied to clipboard
🐞 CodeEdit does not open the following file formats
Description
As of now (0.0.3-alpha.30) CodeEdit cannot open the following file formats:
NOTE: Some of these file formats open when a workspace is active, this bug is related to pressing "Open with" and the file not opening.
Image formats
.png .jpeg .heic .gif .tga .bmp .psd .hdr .pic .webp .pdf .tiff .avif .ppm .pgm .pbm .pnm .ico: does not open / blank screen
Video formats
.mov .mp4 .avi .mkv: does not open / blank screen
Audio formats
.mp3 .wav: does not open / blank screen
3D model formats
.obj .dae .abc: only shows raw data (text) .glb .ply: does not open / blank screen
Project files
.xcodeproj: crashes upon opening
I'll add more file formats soon
To Reproduce
Right click on one of the file formats provided. Press "Open With" and select CodeEdit.
Tasks
- [ ] Warning upon opening file
- [ ] Open all file formats listed using UTF-8 encoding
Expected behavior
I would expect an error message saying: "CodeEdit does not support .format currently" or the file to open normally.
Version information
CodeEdit: [0.0.3-alpha.30] macOS: [13.2]
There was work done in PR #674 around this. If you cannot see these files, that might mean this is broken. These files should be using QuickLook (see documentation).
@austincondiff I can confirm that this is a bug. [CodeEdit 0.0.2-alpha.27]
I am able to open a png.

Yes, but this is not the case when pressing "Open with".
I wonder if we should allow users to open any type of file in the open dialog.