• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: source file rename doesn't affect file on disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: source file rename doesn't affect file on disk


  • Subject: Re: source file rename doesn't affect file on disk
  • From: "Justin C. Walker" <email@hidden>
  • Date: Sun, 24 Aug 2008 13:36:39 -0700

Can't provide much help here, but:

On Aug 23, 2008, at 02:04 , Thijs Koerselman wrote:

If you rename, say, a plist file in your project, the file name on disk is
automatically changed as well. This doesn't appear to work for header and
source files. Why is that? Am I overlooking something?

AFAICT, this doesn't work the way one expects. I'm sure there's an explanation, but I'm at a loss for what that might be.


Maybe it's just an issue of "the name of a thing" vs. "the thing".  :-}

Currently every time I rename a file, I do it from the Finder, delete the
old file from the project and add the file with the new name. Of course your
can also rename both, but in any case it just feels wrong.

The first time I tried this, FWIW, I used a project that is under SCM (subversion). The rename took place on-disk, right away, and showed up as a change that needed to be committed to the svn repository (the original file is scheduled for 'deletion', and a copy of that file, with the new name, is scheduled to be added).


Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's income
-----------
--
They said it couldn't be done, but sometimes,
it doesn't work out that way.
  - Casey Stengel
--



_______________________________________________
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


References: 
 >source file rename doesn't affect file on disk (From: "Thijs Koerselman" <email@hidden>)

  • Prev by Date: Help needed: expected unqualified-id in switching from 10.4 to 10.5 SDK
  • Next by Date: Info.plist Warning?
  • Previous by thread: source file rename doesn't affect file on disk
  • Next by thread: Highlighting current line during editing
  • Index(es):
    • Date
    • Thread