Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 12 - Project Navigator width is stuck/locked, can't resize

Tags:

xcode

xcode12

Every so often the project navigator/left panel is stuck at a fixed width. This is very annoying when I have extensions in separate files named MainViewController+<Extension name>, because the <Extension name> is truncated.

Can't resize project navigator

PhotoSlide... what???

Pressing the "Hide or show the Navigator" button doesn't do anything either.

Press expand button in top left

Quitting Xcode and restarting works. But this takes time, and I lose my place. Is there any other way to fix the stuck width problem?

like image 681
aheze Avatar asked Jan 22 '21 19:01

aheze


2 Answers

Please follow these steps if you don't want to reopen the Xcode everytime:

  1. Right-click (or control-click) on any file
  2. Select Open in New Window
  3. And ta-da! You can now resize the project navigator freely!

Performing the above steps

like image 196
aheze Avatar answered Oct 08 '22 00:10

aheze


Instead of opening a new window, just use a tab:

  1. Open a new tab (+T)
  2. Close the old one
like image 37
Senseful Avatar answered Oct 08 '22 00:10

Senseful