🐞 Opening a folder with source files only shows empty files in the editor
還沒有人認領這個 Issue。
評估
研究方向
首先,在 macOS 上準備一個包含 .h 和 .cpp 檔案的資料夾,透過“Open file or folder”入口重現此問題。追蹤資料夾開啟和編輯器載入的路徑,然後確認開啟這些原始碼檔案時會顯示其內容,同時標準文字檔案仍可正常運作。
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Swift
- 星號
- 23k
- 分支
- 1.2k
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CodeEditApp/CodeEdit 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
CodeEditApp/CodeEdit#2190 ·
-
難度 1/5 1 小時以內 新手友好度 15/100
CodeEditApp/CodeEdit#2195 · 10 個 reaction ·
-
enhancement
難度 4/5 3-5 天 新手友好度 35/100
CodeEditApp/CodeEdit#2185 ·
-
難度 5/5 一週以上 新手友好度 25/100
CodeEditApp/CodeEdit#2181 ·
-
bug
難度 4/5 3-5 天 新手友好度 35/100
CodeEditApp/CodeEdit#2180 ·
查看 CodeEditApp/CodeEdit 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
auth type: bug
難度 2/5 1-3 小時 新手友好度 90/100
googleapis/google-cloud-swift#1260 ·
維護者通常 1 天內回覆
-
catalog-audit
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
0. Needs triage bug
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P2
難度 2/5 1-3 小時 新手友好度 86/100
steipete/RepoBar#140 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆