Re: XCode and external editor protocol
Re: XCode and external editor protocol
- Subject: Re: XCode and external editor protocol
- From: Markian Hlynka <email@hidden>
- Date: Wed, 20 Oct 2004 23:14:10 -0600
I'm not sure why you'd want to do this. I've read through the web page, and External Editor Protocol seems to be designed to allow a local editor edit a file on a remote server. BBEdit has this functionality built-in, BTW. But, with Xcode, there'd be 2 scenarios:
(In case there's any confusion, when I say "local", I mean, "on the hard drive connected directly to the machine you're working on".)
1. You want to be able to edit files on an external server with Xcode. (incidentally, their "client" and "server" designations are flaky, as both apps reside on the local machine!) In this case, the functionality would be to "save" to the server. At which point, I suppose you'd run a remote compile on the server... Why would you be using XCode for this? ie, as a text editor. XCode's editing capabilities are more than adequate, but they don't approach BBEdit, particularly for general purpose editing.
2. You want Xcode to be a "server", to use their terminology. In this case, you want to be able to say "use external editor" inside xcode. Then, the protocol is supposed to get the file from the remote site. I quote from the site:
When you select a file in a remote directory and choose that command, the file is downloaded to a temporary location (the invisible "Cleanup At Startup" folder) and opened in the external editor.
Xcode doesn't access "remote files", except if you use it as a source control client, and source control isn't designed to work this way.
On the other hand, if you mean that you want xcode to provide this functionality for local files... it already does, and the fact that there's no need to go out on the network means there's no need for the External Editor Protocol.
Finally, if you're talking about a shop with multiple macs, with the source code on a mac server, wouldn't it make sense to use AFP (apple file-sharing protocol) and edit the files directly with xcode, or anything you want?
Markian
Hello all,
Is there any way to get XCode to use the External Editor Protocol [1],
or any hope that this will be added as a feature down the road?
pb
[1] http://www.merzwaren.com/external_editor.html
Well, XCode already supports external editors such as BBEdit and CodeWarrior
[I believe], but I don't know if that's the same API as the one you mention.
You can check by:
Opening XCode preferences
Selecting the file types panel
Changing the file/text/sourcecode/sourcecode.whatever entries to your editor
application
_______________________________________________
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