CodeEditApp / CodeEditApp/CodeEdit

🐞 Opening a folder with source files only shows empty files in the editor

Open
#1,781 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
23k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

### Description

When I click ***Open file or folder*** and select a folder containing *.h and *.cpp source files, the file tree is correctly displayed. But when I try to open a source file in the editor, it only shows an empty file.
However when I open a standard text file which is also contained in the folder, the file contents show normally.

### To Reproduce

1. Click **_Open file or folder_**
2. Open a folder containing *.h and *.cpp files
3. Open a file in the editor

### Expected Behavior

The editor should show the file contents.

### Version Information

CodeEdit: Current GitHub clone (Commit #1718)
macOS: 14.5.1
Xcode: 15.4

### Additional Context

_No response_

### Screenshots

Screenshot 2024-06-27 at 06 30 52

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.