Re: Xcode 4 and personal .pbfilespec .xclabgspec files
Re: Xcode 4 and personal .pbfilespec .xclabgspec files
- Subject: Re: Xcode 4 and personal .pbfilespec .xclabgspec files
- From: Graham Henstridge <email@hidden>
- Date: Sun, 20 Mar 2011 16:32:30 +1100
On 18/03/2011, at 12:05 PM, Tom Worster wrote:
> On 3/17/11 7:07 PM, "Graham Henstridge" <email@hidden> wrote:
>
>>
>> On 16/03/2011, at 3:26 AM, Tom Worster wrote:
>>
>>> Xcode 3 would look in my ~/Library for my language specifications, e.g.
>>>
>>> opensnoop -n Xcode
>>>
>>> 501 5549 Xcode 6 /Users/fsb/Library/Application
>>> Support/Developer/Shared/Xcode/Specifications/sql file types.pbfilespec
>>> 501 5549 Xcode 6 /Users/fsb/Library/Application
>>> Support/Developer/Shared/Xcode/Specifications/Sql.xclangspec
>>>
>>> but Xcode 4 does not.
>>> Is there somewhere else I should put them?
>>
>> I second this query. I suspect the .pbfilespec and .xclangspec file
>> support has been replaced by something totally different and at this
>> stage without any public documentation.
>
> this doesn't seem to be the case.
>
> i tried modifying
> /Developer/Library/PrivateFrameworks/DVTFoundation.framework/Versions/A/Res
> ources/PHP.xclangspec and observed the coloring changes i expected.
>
> i could put my xclangspec files in there and modify
> /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Versions/A/Reso
> urces/Standard file types.pbfilespec but i'd prefer to keep it all in
> ~/Library if possible.
>
In my case I am endeavouring to add a new language (Lua) to the syntax
colour coding. I added the xclangspec and .pbfilespec files to the
appropriate locations you have identified, and modified
"Standard file types.pbfilespec" but no joy. I suspect a CodeSignature
may be required in "/Developer/Library/PrivateFrameworks/DevToolsCore
.framework/Versions/A/_CodeSignature/CodeResources". I'll continue
to investigate.
Graham
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden