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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 CodeEdit does not open the following file formats #1026

Open
2 tasks
iggy890 opened this issue Jan 28, 2023 · 5 comments
Open
2 tasks

🐞 CodeEdit does not open the following file formats #1026

iggy890 opened this issue Jan 28, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@iggy890
Copy link
Contributor

iggy890 commented Jan 28, 2023

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]

@iggy890 iggy890 added the bug Something isn't working label Jan 28, 2023
@austincondiff
Copy link
Collaborator

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
Copy link
Contributor Author

iggy890 commented Feb 17, 2023

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

@austincondiff austincondiff added the PRIORITY This issue has priority over other issues. label Feb 17, 2023
@austincondiff
Copy link
Collaborator

austincondiff commented Feb 23, 2023

I am able to open a png.

image

@iggy890
Copy link
Contributor Author

iggy890 commented Feb 23, 2023

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

@austincondiff austincondiff removed the PRIORITY This issue has priority over other issues. label Aug 2, 2023
@austincondiff
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Todo
Development

No branches or pull requests

2 participants