🐞 Opening a folder with source files only shows empty files in the editor
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the issue through the “Open file or folder” entry point with a folder containing .h and .cpp files on macOS. Trace the folder-opening and editor-loading path, then verify that opening those source files displays their contents while standard text files continue to work.
Written by the indexing model from the issue text.
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
- Click Open file or folder
- Open a folder containing *.h and *.cpp files
- 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
- Dominant language
- Swift
- Stars
- 23k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeEditApp/CodeEdit
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CodeEditApp/CodeEdit#2190 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
CodeEditApp/CodeEdit#2195 · 9 reactions ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CodeEditApp/CodeEdit#2185 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
CodeEditApp/CodeEdit#2181 ·
-
creashes on startingOpenbug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CodeEditApp/CodeEdit#2180 ·
All issues in CodeEditApp/CodeEdit
Similar issues
-
clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster P2
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
steipete/CodexBar#4071 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
Nextcloud Desktop 34.0.4 fails TestLocalDiscovery::testFileOpenedAsDirectoryCompletesDiscoveryJob()Open0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
bot file conflict
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
termux/termux-packages#32026 ·
Maintainers usually reply within 1 day
-
Dictated bullet lists keep the recogniser's commas at the end of every line ("- Milk," "- Eggs,")Openarea:dictation bug good first issue P2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
uttrflow/uttrflow-swift#1958 ·
Maintainers usually reply within 1 day