如何更改 Xcode 4 中文本突出显示的颜色以显示警告和错误? [英] How does one change the color for text highlighting in Xcode 4 for warnings and errors?
问题描述
可能的重复:
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屋!