How to cycle through xcode windows (or open 'help' within the bottom pane)? - windows

In Xcode 3.2 the help/reference pops up in a new window when I ALT, CMD, DOUBLECLICK on a class name**. In previous versions it looks like it used to open up in the bottom pane of the main Xcode window. Can I replicate that in 3.2+?
The problem I'm having is that if either one of the Xcode windows (help or main) is maximised, it's easy to loose one window behind the other, and I seem unable to cycle through the individual Xcode windows (the normal window cycling doesn't work - both windows just show up as one item, 'Xcode').
I'd be happy to find out how to cycle through the Xcode windows or bring up the help window in the bottom pane, as it was in prior versions. Currently I'm using Expose to access the hidden window - which is okay, but not optimal.
Thanks.
** ALT & DOUBLE-CLICK now brings up QuickHelp in 3.2

Can you not simply type Command-~ (command tilde)? That works for me and is the common method of cycling between the windows of an application.

At least with XCode 4, but probably with 3 too, you can use Ctrl+Command+Arrows for navigating between tabs. The Up/Down buttons will switch between header files and source files and the Left/Right between opened windows/tabs.

Related

vscode on MacOS: getting navigation menu to show up in a full screen mode

Is there a way to get vscode show navigation menu i.e Code|File|Edit|... and the project name in a full screen mode on MAC. It's almost impossible to see the name of the project when having multiple instances of code open in full screen mode.
v1.42 has a new option that may help:
Controls if native full-screen should be used on macOS.
Disable this option to prevent macOS from creating a new space when going full-screen.
"window.nativeFullScreen": true,
I believe this is not what the full screen mode is made for. If you go full screen you are supposed to work almost exclusively in that application (only occasionally switching to other apps like mail, e.g. via command+tab). You can always have the menu bar (and the window title) appear when you move the mouse pointer to the top of the screen, however.
The name of the project is visible in the file explorer.
In this example, the project name (i.e. root folder) is testgit
You can always quickly show the file explorer using the keyboard shortcut Shift-Cmd-E.

XCode 8.1 shows same file side by side, no 'x' button to remove second window

After a few months of not writing any iOS code I upgraded to XCode 8.1 and opened a project. Strangely I am seeing two windows (see pasted image below). Annoyingly these two screens move in sync, show the same file, etc, but one cannot be closed. There is no 'X' at the top to close the window. Has anyone run into this and how can I get rid of one of the screens?
Probably you activated the version editor without noticing it. To revert to the standard editor, hit the button on the top right corner of the window with a drawing showing lines justified to the left (right next to a button with two circles and another with arrows).
Alternatively go to the menu:
View -> Standard Editor -> Show Standard Editor
or hit the Command + Return keys.
That should do it.

Is there a way to use PyCharm on multiple monitors

I'm using PyCharm with multiple monitors on Mac OSX (10.10.5), normally you can drag windows off to a separate monitor. In PyCharm that works, but they (and in particular the Run window) snap back to the main monitor.
I've only seen this on the latest PyCharm 5 CE though its possible older versions also had the problem. I've searched all the settings and searched online, but can't find a setting that makes the window stay where it was placed.
Right click on the tab and select View Mode as Window.
Then you can move the window to another monitor.
It's crappy behaviour from the best python IDE out there.
There is a OSX solution but i'm not sure if you will like it:
You can enable old style multiple screen support again in OSX by going to System Preferences, Mission Control and uncheck "Displays have separate spaces". Now your floating windows will not snap back and you can even extend your PyCharm main window over the screens.
The downside of this solution is that you'll have the OSX dock and main menu only on your main monitor. I hope Jetbrains will fix this behaviour soon.
Another way to achieve what you want is to open multiple instances of the project. When you try to open the project for the second time you can choose "open project in new window". You can drag the new window to the second screen; it won't snap back to your primary monitor.
For Ubuntu and Windows users landing up here:
Press Shift + F4 or
Right-click and select 'Move Tab to New Window'
Drag the newly created window to the next screen
The best option is to detach an editor window and drag it to your second monitor.

Strange window behavior when browsing Versions

I'm trying to implement Versions in my Cocoa app. Versioning just works well, the only problem I'm experiencing is when I want to restore a version from the versions browser (with all versions shown in the time machine style).
Setting the option in IB "Visible at Launch" causes the following problem: when browsing through the windows in the versions browser, the actual window gets instantly bigger and then it gets its size back when the clicked window is reached.
Another problem happens when I delete a version: the current window (i.e. the window on the left side) just disappears, and then also the frontmost version window becomes transparent. I noticed this also happens when creating a new project from scratch ...
Is there something I am missing? I would be very grateful for any tip on how to resolve this!
I finally figured it out. This is a bug of Xcode, running the app by double-clicking on the executable instead of inside Xcode there are no problems.
As stated by #mrwalker This happens only when Allow debugging when using the documents Versions Browser is checked.
To remove this commandline option uncheck Allow debugging when using the documents Versions Browser in Xcode Edit Scheme -> Run -> Options.

Xcode window positions when switching from dual to single monitor

When I'm working at home I plug my MacBook in to my 20" monitor as a second (right side) monitor. I do all my editing in Xcode on the larger monitor, and leave the menu bar, debugging and documentation on the laptop's monitor.
The problem is when I disconnect from the second monitor and want to work on code in "laptop" mode. Now, whenever I open a file for editing, it shows up almost entirely off the screen and I have to drag it over to edit it. I understand (sort of) why this is happening, since I last had it open in a different monitor. What I'd like to do is reset the window positions in Xcode so the edit windows show up completely on the laptop monitor. Any ideas on how to do this?
I'd even be willing to nuke entries out of the preferences (or set up an applescript to do it) but the xcode plist is inscrutable to me.
Right click the project in finder, select show package contents, and delete the two username.* files. Its not automated... but it works.
Additionally if your using some kind of version control system you probably want to add username.* to your ignore pattern.

Resources