🐞 Default tab size is incorrect (set to 4 but is only 3), changing it does not work
还没有人认领这个 Issue。
评估
调研方向
从 Text Editing 设置开始,跟踪 tab-size 值如何传递到编辑器视图;issue 中未指定具体文件或测试。复现默认值和修改大小的情况,包括重启之后的情况;当编辑器始终使用配置的空格数时,即可认为 issue 完成。
由索引模型根据 Issue 内容生成。
描述
Description
The default tab size is set to 4 in settings, but it is actually 3 in the editor window when counted against spaces. Changing the tab size in settings does not change the editor. A restart is also not honouring the changed tab size setting.
To Reproduce
- Go to settings->Text Editing
- Default tab size is set to 4 spaces and Prefer Indent is set to Tabs
- Close Settings.
- Type 4 spaces in the editor
- Type newline and a tab
- Notice that the tab only equals 3 spaces, not 4.
Expected Behavior
Tab size should be equal to the number of spaces set in settings, by default: 4 spaces not 3.
Version Information
CodeEdit: 0.3.6 (47)
macOS: 15.7.1
Xcode: Version 26.1.1 (17B100)
Additional Context
No response
Screenshots
Changing tab size to some other value (here: 8) does not change the editor (also not after restart of CodeEdit):
- 主要语言
- Swift
- 星标
- 720
- 派生
- 162
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CodeEditApp/CodeEditSourceEditor 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
CodeEditApp/CodeEditSourceEditor#377 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
CodeEditApp/CodeEditSourceEditor#376 · 1 条评论 ·
-
难度 1/5 1-3 小时 新手友好度 68/100
-
难度 3/5 1-2 天 新手友好度 68/100
CodeEditApp/CodeEditSourceEditor#378 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 32/100
查看 CodeEditApp/CodeEditSourceEditor 的全部 Issue
相似的 Issue
-
area:dictation documentation P2
难度 2/5 1-3 小时 新手友好度 78/100
uttrflow/uttrflow-swift#1180 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 84/100
OneBusAway/onebusaway-ios#1451 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100