Re: Age Old Question: How Do You Set __MyCompanyName__
Re: Age Old Question: How Do You Set __MyCompanyName__
- Subject: Re: Age Old Question: How Do You Set __MyCompanyName__
- From: Andy Lee <email@hidden>
- Date: Thu, 18 Dec 2008 14:14:18 -0500
I would never have thought to do it that way either, given that Xcode
is not a lifestyle application like Mail or iCal, but I don't
particularly mind as long as the Xcode preferences UI makes it obvious
what's going on and how to change it. You'll see the organization
name right at the top of your code, so it's not like something sneaky
is going on.
It may well be that the developers working on Xcode have higher-
priority stuff to work on, stuff we'd be complaining about if they
postponed it to work on the __MyCompanyName__ UI. If we really care
about this we should file radars about the documentation and/or the
lack of UI in Xcode and/or the decision to use Address Book, to
escalate the priority.
I personally consider it a minor annoyance in the grand scheme of
things, but it's a *constant* annoyance, so:
rdar://6455878
Open Radar: http://openradar.appspot.com/radar?id=1605
In the meantime, I hold out hope that some developer with time on his
or her hands will write a little app that lets you manage not only the
Xcode template substitution macros, but the templates themselves.
--Andy
On Dec 18, 2008, at 1:11 PM, Jonathon Kuo wrote:
Hmm, associating Xcode with Address Book sounds eerily ...
Microsoftian.
Most development systems I've used aren't personal-use systems, and
I haven't (or wouldn't think to or want to) set up an Address Book
on them.
Also, having the company name string in Address Book doesn't let you
tailor the exact string for the purpose of Xcode products, so why
even bother look in AB for it? That's an abuse of AB.
The obvious place for it is within Xcode. That's where most
developers look for it.
On Dec 18, 2008, at 9:47 AM, Andy Lee wrote:
I don't think this is overkill at all. I think:
* There should be an Xcode-wide default setting for the value that
is used for __MyCompanyName__.
* You should be able to tell what that default setting is by
looking in Xcode's preferences, because that's the first place
you're going to look -- not in the Xcode 3.1 release notes.
* It's fine to have "whatever is in Address Book" as a default.
* If "whatever is in Address Book" is the default, there should be
a button in Xcode that takes you to Address Book, or some such UI,
so you can conveniently edit the value.
* You should have the option to use something else as the default,
because you may want to identify with a different organization for
whatever purposes that Address Book uses that field for (what are
those purposes, anyway?) -- including not wanting an organization
name in Address Book at all.
* You should be able to specify a different organization,
overriding the default, on a per-project basis.
I seem to recall there are other placeholders that can be put into
project file templates, not just organization name. I suspect it
would not be appropriate to have these be fields in Address Book.
Therefore I think there should be a preference tab in Xcode
dedicated to these placeholders. This would make clear what the
complete list is and what reasonable default values are for each,
and it would make it convenient for developers to set their values.
This information should not be buried in oral tradition, and I'm
frankly surprised there's any debate about this. The fact that
this has been asked about time and time again should really be a
glaring clue that this functionality should be exposed in UI. A
developer shouldn't have to search list archives to find out that
the information is in a paragraph of the Xcode 3.1 release notes.
I will file a radar, but first I'm going to lunch. If someone
wants to post a rdar: number they've already filed, I'd be happy to
refer to it.
--Andy
_______________________________________________
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