CodeEditApp / CodeEdit

CodeEdit App for macOS – Elevate your code editing experience. Open source, free forever.
https://codeedit.app
MIT License
20.89k stars 1.01k forks source link

🐞 CodeEdit does not open the following file formats #1026

Open iggy890 opened 1 year ago

iggy890 commented 1 year ago

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

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]

austincondiff commented 1 year ago

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).

iggy890 commented 1 year ago

@austincondiff I can confirm that this is a bug. [CodeEdit 0.0.2-alpha.27]

austincondiff commented 1 year ago

I am able to open a png.

image
iggy890 commented 1 year ago

Yes, but this is not the case when pressing "Open with".

austincondiff commented 1 year ago

I wonder if we should allow users to open any type of file in the open dialog.