PDA

View Full Version : Refactoring in XCode?


jamdr
2004.12.07, 08:41 PM
Is it possible to refactor code in XCode a' la Eclipse, so it updates all of the references? I'm new to Mac programming, so any help would be appreciated.

jamdr
2004.12.07, 09:28 PM
Also, is there a way to have XCode automatically underline errors in the code instead of having it tell me after it tries to compile?

Jake McArthur
2004.12.08, 12:50 AM
No and no. Sorry.

DoG
2004.12.09, 06:30 AM
Also, is there a way to have XCode automatically underline errors in the code instead of having it tell me after it tries to compile?
How would that work? Things need to be parsed and compiled to see if something's wrong.

AndrewSage
2004.12.09, 08:22 AM
How would that work? Things need to be parsed and compiled to see if something's wrong.

Visual Studio .NET 2003 manages it fine in Windows land.

The engine for checking correct variable names and stuff like that already exists in the form of command completion.

Also detecting if a set of brackets is closed or not is already done.

So most syntax errors could be picked up, just not the logical errors.

Chris Burkhardt
2004.12.09, 02:17 PM
> How would that work? Things need to be parsed and compiled to see if something's wrong.

Many IDEs check syntax as you type. THINK Pascal on the Mac does it, but not CodeWarrior or Project Builder/XCode as far as I know :-\

Josh
2004.12.09, 07:30 PM
That'd be stinkin' awesome. Of course, at this point some simple GUI changes in Xcode would be enough to get me excited.

matticus
2004.12.14, 08:03 AM
A nice New Class dialogue that asks the class name and methods then produces the .cpp and .h files would be a start.

RedWolf
2004.12.14, 11:22 PM
One would hope that Xcode 2.0 will offer some significant improvements including refactoring.

matticus
2004.12.15, 04:52 AM
An integrated class browser would be good too.

Is the UML diagraming feature going to support 2-way updating of code/diagram?

That would be terrific.