Added to the "Coding" heading at 
http://code.google.com/p/chromium/wiki/MacBuildInstructions 
.

On Nov 30, 2009, at 12:49 PM, Paweł Hajdan Jr. wrote:

> Could you document that on some Mac wiki page on code.google.com/p/ 
> chromium? This way if anyone decides to use Xcode editor at any time  
> will see this handy tip.
>
> On Mon, Nov 30, 2009 at 21:31, Dave MacLachlan  
> <[email protected]> wrote:
> If you don't ever use Xcode as an editor, don't ever want to use  
> Xcode as an editor, or don't know what Xcode is, you can stop  
> reading now.
>
> Hopefully I've got a few of you left ;-)
>
> I open sourced an Xcode Plugin that thomasvl and I have been working  
> on for a while, and enhanced it by adding the ability for it to  
> clean end of line whitespace and add missing end of file newlines  
> when you save a file. I would say it is in "beta" right now, as I've  
> been using it for a week with no real problems.
>
> You can get it here:
>
> http://google-toolbox-for-mac.googlecode.com/files/GTM%20Xcode%20Plugin.10.0.1.zip
>
> Its install path is a little difficult, but it should be put into:
>
> "/Library/Application Support/Developer/3.1/Xcode/Plug-ins" for  
> development on Leopard
>
> and
>
> "/Library/Application Support/Developer/3.2/Xcode/Plug-ins" for  
> development on Snow Leopard
>
> Once it is in place, restart Xcode, and you should have a "About GTM  
> Xcode Plugin" menu item under the Xcode menu. If you don't have this  
> item, please check the location you installed it and try again.
>
> To turn on whitespace cleanup:
> 1) Go to "Xcode>Preferences..." and choose the "Google" panel.
> 2) Check the "Correct Whitespace on Save" checkbox, and you should  
> be good to go.
>
> If you run into any problems, please log them at:
>
> http://code.google.com/p/google-toolbox-for-mac/issues/list
>
> If there are any other Xcode enhancements which would make your life  
> easier you may want to log them at
>
> http://code.google.com/p/google-toolbox-for-mac/issues/list
>
> as well. I can't guarantee anything, but if it saves people a lot of  
> time, we may be able to hack it in there.
>
> Cheers,
> Dave
>
> PS If you are already using the MacDevTools and have a MacDevTools  
> plugin installed, you will want to remove it and replace it with  
> this one. They won't work well together, and the GTM Xcode Plugin  
> covers 95% of what the old one did + the whitespace cleanup.
>
> -- 
> Chromium Developers mailing list: [email protected]
> View archives, change email options, or unsubscribe:
> http://groups.google.com/group/chromium-dev
>

-- 
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev

Reply via email to