如何更改 Xcode 4 中文本突出显示的颜色以显示警告和错误? [英] How does one change the color for text highlighting in Xcode 4 for warnings and errors?

查看:25
本文介绍了如何更改 Xcode 4 中文本突出显示的颜色以显示警告和错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

<块引用>

可能的重复:

Possible Duplicate:
Fix for Xcode's indiscernible highlighting of inline errors?

Does anyone know how to change the color of the in-line highlighting for warnings and errors in Xcode 4? With almost every theme, the yellow warning highlight makes the underlying code impossible to read. Example picture

解决方案

Just came across this, which seems to be able to modify some of Xcode's behaviors by creating some sort of plugin. Maybe one can be developed to change text highlight color. http:/github.com/davekeck/Xcode-4-Fixins

Update:

I've finally managed to implement a Xcode "fixin" to do it.

You just need to open the project and build it. Doing so will install an Xcode plugin called "XCFixin_CustomizeWarningErrorHighlights.xcplugin" into ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins. You can of course customize the colors to your liking.

Get the "fixin" here:

https://github.com/armadillu/Xcode-4-Fixins/tree/master/XCFixin_CustomizeWarningErrorHighlights

这篇关于如何更改 Xcode 4 中文本突出显示的颜色以显示警告和错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆