xcode - 如何在 Xcode14 中禁用粘性 header

标签 xcode xcode14

在 Xcode 14 版本中,有这些粘性 header 显示我们在当前代码流中的位置,它们最多覆盖 3 行,我的问题是我的整个编辑器顶部现在被 3 行 Xcode 菜单和这些粘性标题的其他 3 行,有没有办法在 Xcode 14 中尝试关闭它们,它们似乎覆盖了我 13 英寸设备上近 20% 的屏幕区域,它们似乎隐藏了我当前正在输入的相关代码。 . 谢谢

enter image description here

最佳答案

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

enter image description here

关于xcode - 如何在 Xcode14 中禁用粘性 header ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73705178/

相关文章:

ios - 储蓄账户应用

xcode - 移动 SKSpriteNode 直到触摸结束

Xcode 14 给出 flurry sdk 的构建错误

ios - Xcode 14 的 iOS 15 或更早版本中未显示 WidgetKit

c - 当包含 glext.h 时在 xcode 中编译 c 代码的奇怪问题

ios - 如何关闭 Xcode Undefined Behaviour Sanitizer

objective-c - Mac OS X 应用程序在其窗口没有焦点时速度变慢

xcode14 - undefined symbol : _MDMMotionCurveMakeBezier

github-actions - 如何从 GitHub Actions(非自托管用例)+ FaSTLane 将 dSYM 从 Xcode 14 发送到 Firebase