简体   繁体   English

Xcode不会让我看到选定或突出显示的语法。

[英]Xcode wont let me see selected or highlighted syntax.

Lately I have been trying to copy and paste some code around in xcode but for some odd reason, the editor doesnt show what I highlight or select and its really frustrating. 最近,我一直试图在xcode中复制并粘贴一些代码,但是由于某些奇怪的原因,编辑器没有显示我突出显示或选择的内容,并且它确实令人沮丧。 The copy and paste works but I can see what I am highlighting. 复制和粘贴有效,但是我可以看到突出显示的内容。 I dont know if this is an xcode settings issue or something else. 我不知道这是xcode设置问题还是其他问题。 Please help me. 请帮我。 Thanks! 谢谢!

Try these steps: 请尝试以下步骤:

  1. Goto XCode->Preferences. 转到XCode-> Preferences。
  2. Under Font & Colors, See the "Selection" under "your choosen theme". 在“字体和颜色”下,请参阅“您选择的主题”下的“选择”。
  3. Adjust the selection color as per your need and you are good to go. 根据您的需要调整选择颜色,您就可以开始了。 The RGB for default selection color is 167, 202, 255 respectively. 默认选择颜色的RGB分别为167、202、255。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM