This will help you get color syntax on .txx files:
Create a file
/Users/isa/Library/Application Support/Apple/Developer Tools/Specifications/TXX.pbfilespec
or
/Library/Application Support/Apple/Developer Tools/Specifications/TXX.pbfilespec
containing the following
(
{
Identifier = sourcecode.cpp.tpp;
BasedOn = sourcecode.cpp.cpp;
Extensions = (txx);
ComputerLanguage = c;
AppliesToBuildRules = yes;
IncludeInIndex = NO;
CanSetIncludeInIndex = NO;
},
)
You may need to re-add sources or regenerate project file
Unfortunately this doesn't work in Xcode 4 anymore. If anyone finds a way to to do it for all files, I'll be pretty happy to know!
ReplyDelete