Search
Rich's Mad Rants
Powered by Squarespace

Creating iOS 5 Apps Discussion > XCode settings

Rich

Recently as the code is growing day by day as I moving ahead with the book, I started noticing strange XCode behaviors. The code window start to jump so much especially if I have too many line in between where im typing my new code. This happens especially when I hit space bar or autocomplete on.

I played with XCode Preferences - Indentation but its just make the whole thing more awful

Can you please share what is best IDE configurations or what you prefer?

thanks
Guru

March 27, 2012 | Unregistered CommenterGuru

I'm not exactly sure what's going on here. I haven't had any problem with my code jumping around (except when I accidentally click on the arrows to collapse/expand code in the gutter). I can't think of any settings that might affect this.

Are you using a machine with a particularly small screen? Like an 11" air? Maybe it's just having trouble getting everything on the screen. If that's the case, you can try hiding the navigator and utility views when you don't need them, to give yourself more space.

I suppose it could also be the auto-formatting--but without actually seeing the behavior, it's hard to guess.

Sorry that I'm not able to be of much help here. You might want to ask on Apple's developer forums, since it seems to be an Xcode problem. Maybe someone there has seen the issue before and can offer some suggestions.

-Rich-

March 27, 2012 | Registered CommenterRichard Warren

Ok its not the code that jumps but the window where we type the code it move up and down so frequently that its bugging me a lot. And yes I do checked the notification checkbox every time. I didnt get any notification for your post above but I got your other email.

thanks for help. I search on google last night and I found a similar issue described here http://openradar.appspot.com/11026399 but will check with apple forum

Im using iMac 21 inch screen.

March 27, 2012 | Unregistered CommenterGuru

Wow, I've never seen or heard of this before. If you're on an iMac, it's definitely not a small screen size issue. Maybe it's an iMac-specific bug with Xcode? I read through the issue from the link, and it sounds like they're on an iMac as well. Do you have the same problem with any other applications?

Sorry I can't be more help here.

-Rich-

March 28, 2012 | Registered CommenterRichard Warren

Sorry didnt get that - Other applications mean?
I never typed so much (actually 100+ lines) code before in XCode and thanks to you that im doing it So I dont see it anywhere else.
I think the issue is with scroll bars and when you type "space" something triggers in Editor which makes scroll bar and the code pane move or jumps so much before you can type something else and even I loose autocomplete options. It happens for a half a second but for every auto complete.

I think I have to live with it for a while until apple finds it as a problem. I raised a bug with apple for my other issue with -loadView stub but thinking of this problem is tough to explain if they asks for proof (logs!)

March 28, 2012 | Unregistered CommenterGuru

I was just wondering if you saw the same behavior on other applications (like Pages), or just in Xcode.

If it's just in Xcode, you might want to uninstall Xcode and then reinstall the latest version from the app store.

Oh, are you using Lion or Snow Leopard?

-Rich-

March 29, 2012 | Registered CommenterRichard Warren