🐞 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
-
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 天内回复
-
area:dictation bug P2
难度 2/5 1-3 小时 新手友好度 88/100
uttrflow/uttrflow-swift#2551 ·
维护者通常 1 天内回复