Disable the Xcode utilities panel auto-display feature - xcode

How do I disable the Xcode auto-display feature of the utilities panel (aka the far right pane that holds the identity inspector etc)?
In full screen mode (coding, not just in the storyboard) whenever my mouse curser gets moved all the way to the right of the screen, the utilities panel displays automatically. It is distracting and unwanted. If I need that panel I can click the button in the upper right to display it, or use a keyboard shortcut. It doesn't seem like anything else is autodisplaying, just the right side panel. Once I move the mouse away from it, the panel disappears again. Maddening I tell you.

Related

How depends Xcode "Change Editor Orientation" menu option to the location of the assistant editor?

Xcode 12 is annoying me. In the storyboard I want to display the assistant editor below the storyboard but Xcodes sometimes stucks the editor to the right side.
Changing the menu option "Change Editor Orientation" seems to reflect the whole editor position but not the position of the assistant editor itself.
Even the orientation is set to vertical, sometimes the assistant editor goes to the right side, sometimes below.
So as I mentioned above that's what I want, I want to force Xcode to show the assistant always on the bottom side. But it always stucks onn the vertical, right position.
Even if a new editor with horizontal oriantation is opened, the position of the assitant editor won't change.
Also the layout pane is always greyed out and stuck in automatic despite I don't use the focused editor:
You can change its orientation By shortcut key
Press Option Key and hover on the editor icon.
This will give the below output.
Okay, for all desperates Xcode beginners: The Layout Panel becomes active if the assistant editor is opened regardeless the orientation:
Choosing the right or bottom changes the position of the assistant editor immediality.

How to show view controls in the new update of Xcode 12?

I have updated xcode to the latest version ( Version 12.0 (12A7209)) and I can't show the toggle icons that show/hide inspector, debug or navigator Area
How can I show them again?
For the navigator the button is now at the far left, or use Command 0.
For the inspector the button is now at the far right, or use Command Option 0.
Also, in full screen mode you can summon the inspectors as overlays by hovering at the side with the mouse. Very cool as it saves space.
For the debug area there is no button; use Shift Command Y.
Basically this is a good time to learn the keyboard shortcuts!

Xcode: More efficient keyboard-based "back" navigation

In Xcode when we hold the mouse down on the "Back" arrow in the panel above the editor area, we get a popup window showing our navigation history. This is also a standard navigation behavior, seen in most Web browsers.
My question: Is there a keyboard shortcut (or XCode plugin) to pop open this Navigation History popup, so we can use arrow keys and quickly move a selection bar down to the item in the history list we would like to navigate to?
Rationale: When working in a given class, we tend to flip back and forth quite a few times between the .m and .h files for the class. Each flip creates an entry in the navigation history. So, to move back to the prior class we were editing, using keyboard shortcuts only, we need to hit the "go back" keyboard shortcut many times, undoing each flip between header/implementation. Seeing the list visually allows us to quickly identify and scroll down to the desired class in the history list, navigating directly there. When editing code, allowing the hands to remain on the keyboard is better.
Another solution could be: A keyboard shortcut to move back to the previous class (or .xib or other "significant" navigation item) rather than the previous file.
Is there a keyboard shortcut (or XCode plugin) to pop open this Navigation History popup
Yes. The standard key binding is Ctrl2, as indicated above. You can check the key bindings panel in Xcode's preferences for the current key binding on your system if there's any chance that you might have changed it.

Is it possible to access the Diamond guide in Visual Studio from the keyboard only?

I have taken to participating in mouseless Monday's and Friday's. I have set my windows float and dock tabs to hotkeys that allow me to pull them out or put them back in; however, I want to be able to choose which location to put the tabbed document in. I operate in landscape mode so I regularly have a bottom and a top window in visual studio. I would like to press a hotkey and send the selected document to that part of the diamond guide. Anyone know a plugin or how I can do this?
There's an entire article dedicated to navigating the IDE using just the keyboard, with a section on docking windows and tabs using the diamond guide from the keyboard. So yes, it is possible, and you don't need a plugin for it:
To move and dock tool windows from the keyboard
Navigate to the tool window you intend to move and give it focus.
On the Window menu, click Dockable.
Press ALT + Space and then choose Move.
The docking guide diamond appears.
Use the ARROW keys to move the window to a new location.
The mouse pointer moves with the window as you use the ARROW keys.
When you have reached the new location, use the ARROW keys to move the mouse pointer over the correct portion of the guide diamond.
An outline of the tool window appears in the new docking location.
Press ENTER.
The tool window snaps into place at the new docking location.
Alternatively, you can cheat by simply controlling the mouse pointer with the keyboard, through a nifty system accessibility feature called MouseKeys.

Rgui - disable right click on plot window?

I've written a routine whereby a user is displayed an image (using grid.raster) and they click on it to define a region of interest (grid.locator).
I added in support for the user to right-click on the plot instead of left-click, which would undo their previously-clicked point.
This works by testing whether grid.locator() returns NULL (from the help file: "If the user did not click mouse button 1, the function (invisibly) returns NULL).
This works fine on Linux, but in Windows using Rgui, right-clicking the plot window brings up a context menu with 'Stop' and 'Continue' and continues waiting for you to click (i.e. the right click is not detected by grid.locator() since it's intercepted for the context menu first).
Is there some way to disable the right click context menu for the plot window in Rgui?
(The user is only going to use Rgui. For the moment I can tell them to use the middle click button to undo instead of right click and this works, but it is moot if they don't have a button with a scroll wheel/middle click button. Alternatively if there's some way I can listen for a keyboard event without having to load a UI package like gtk or tcltk I'm happy for that to happen too).

Resources