Tuesday, June 28, 2005

Xcode can't remember?

In CodeWarrior, BBEdit (and MPW before that), when you open a text file, and then close it, the editor remembers a bunch of stuff about the file. Things like:

1) The position of the window.
2) The position of the text in the window (how far down/over you have scrolled the window.
3) The selected text

This is really cool, because when you re-open a source file, you are "right back" where you were when you closed it. You can arrange frequently opened files on the screen, and know that they'll be in the same place when you come back to work tomorrow, and the same piece of code that you were working on is still visible.

Apparently, Xcode doesn't do this :-(

Bummer.

Off to learn how to use BBEdit as an external editor, I guess.

3 Comments:

At 3:41 PM, Blogger Nat Irons said...

Sadly, one still has to use Xcode to manage breakpoints and debugger sessions, even with BBEdit as an external editor. Last time I checked, before Xcode 2.1, there was not yet a way to set a breakpoint with applescript.

 
At 7:57 AM, Blogger Stefan Werner said...

It's not just the breakpoints: External editors usually are also not able to offer access to included header or offer proper code completion.

Unfortunately, this always brings me back to the slow built-in editor of Xcode.

 
At 11:43 AM, Blogger Alan Bird said...

Xcode does #1 (window position) and #3 (selected text) for me, but not #2 (scroll position).

I have "Save window state" checked in the General preference pane.

 

Post a Comment

<< Home