在 Xcode 14 版本中,有这些粘性 header 显示我们在当前代码流中的位置,它们最多覆盖 3 行,我的问题是我的整个编辑器顶部现在被 3 行 Xcode 菜单和这些粘性标题的其他 3 行,有没有办法在 Xcode 14 中尝试关闭它们,它们似乎覆盖了我 13 英寸设备上近 20% 的屏幕区域,它们似乎隐藏了我当前正在输入的相关代码。 . 谢谢
最佳答案
Source Editor New Features Xcode now pins elements of your code structure to the top of the editor as you scroll through a document. To toggle this behavior, use “Show: Code structure while scrolling” in Xcode’s Text Editing preferences. (10582250)
https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes
转到 Xcode > Preferences > Text Editing > Display > Code Structure When Scrolling
关于xcode - 如何在 Xcode14 中禁用粘性 header ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73705178/