Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reset Xcode 4 window positions

I revive a previous question, but now for Xcode 4.

How can I reset window positions for a project in Xcode 4?

The old question was: Xcode window positions when switching from dual to single monitor

I've tried to delete user data files as suggested in the other question, but it didn't reset the window positions.

like image 919
Enrico Detoma Avatar asked Mar 14 '11 10:03

Enrico Detoma


1 Answers

You need to delete the xcuserdata/username.xcuserdatad/UserInterfaceState.xcuserstate file inside the workspace bundle. You can get to it via Finder "Show Package Contents" or via the Terminal.

If you're not using a workspace, your xcodeproj will have a workspace file inside it that you can open up.

Delete the file and re-open the workspace and your window settings will be back to default.

BTW, this happens to me all the time when I accidentally leave a double-clicked file open and then close the main window.. it always comes back helpfully showing the single file with nothing else.

like image 177
Migrant Programmer Avatar answered Oct 06 '22 01:10

Migrant Programmer