Xcode weird behavior when scrolling text - xcode

I wonder if there is a way to disable the following:
I have two project windows opened on the screen next to each other and when I position the cursor on the active project window and scroll with the trackpad, I see the other project's content window scrolling too! I need only one to scroll at a time. Is there a way around this annoying feature?

Related

Win32/C++: Program started minimized shows generic icon in taskbar flyout preview - how do I set my own image or fix it?

When you hover the mouse over taskbar buttons in Win10 you get a preview of that Window in a flyout. However if I start my program minimized it shows a generic icon (if I then restore it, the preview is updated and works minimized or not - so on startup is the key).
How do I have it show what the window will look like when restored or set my own image to use so this doesn't happen? It's okay if my own image is the only one that ever shows. I wouldn't mind disabling the preview on the flyout either (I do need the flyout because I use use toobar buttons on it).
I see ITaskbarList3::SetThumbnailClip() but that would have the same issue.
TIA!!
Found this is controlled by the DWM (Desktop Window Manager) via dwmapi. Examples of use is here

IntelliJ Idea on MacOS: Move toolbar away from main menu

I'm usually working with IntelliJ IDEA on MacOS in fullscreen mode. When I try to access something in the toolbar, I often overshoot the target a little, and the main menu bar opens instead, hiding the toolbar. So I have to move the mouse a little lower, wait and move carefully into the toolbar again. This is quite annoying. Are there any tips to avoid this? Is it possible to move the toolbar, say, to the bottom of the screen?
It doesn't seem to be possible at the moment, but there are 2 open requests you can vote for:
IDEA-119950 A setting in the settings area to stop 'show on hover' menu in fullscreen
IDEA-117034 Fullscreen menu bar is too eager to show

How to hide or disable the main toolbar in Octave (4.2)?

The main toolbar has icons for "new file", "open file", a textbox for the current working directory and a couple of icons for browsing around. The bar stretches horizontally across the entire workspace but the icons only occupy around 40% of this. Even with icons set to "small" in Preferences, I am still losing around three lines of code on my MBP 13" screen.
Given the low value provided by the toolbar, the screen realestate tradeoff is extremely poor. Can we turn it off?
Note: This toolbar is not the same as the editor toolbar, which has icons for things like breakpoints and "step into".
There is a crappy workaround where you detach the toolbar, drag the main window to the left, drag the toolbar to the right (so that it is 99% off screen) and then drag the main window back. This way the toolbar doesn't snap back into the workspace.
Sadly you still see a few pixels of the toolbar.

Xcode 6 open Assistant Editor in New Window

I feel like I have read every link on Google pertaining to this question, but none that I have read have helped.
All I want to do is view my Storyboard layout on the left monitor, and on my right monitor, in a new window, have the Assistant Editor open to "Preview" for my Storyboard so that I can preview the different devices sizes (clicking different storyboard views on the left screen should update the assistant editor preview on the right). This seems so simple, but has not proved to be.
Please tell me this is possible.
EDIT: This guy seems to have it working but following the steps didn't work for me.
It's possible.. and it's awesome:
I do have this working after following the instructions linked in the OP. I think the author left out that you need to click on the view controller that you're editing in BOTH instances of the story board window to see the changes update. Then as you're editing on your main window the changes will update to the open storyboard and thus the preview will update as well. I was able to test this and achieved a somewhat desired result.
In case the link goes dead here are the instructions lined out
Here’s how you can set this up…
In the Project Navigator pane, single-click a storyboard/XIB file to open it in the main Xcode window.
Now double-click that same file to open it in a new window.
Move the new window to another monitor and maximize it
(So now you have the story board on 2 windows)
Click on the new window to make sure it has input focus, then type Option+Command+Enter to open an assistant editor in that window.
In the assistant editor’s jump bar click on ‘Automatic‘ to open the drop-down menu (see the screenshot below if you don’t know what this means).
Click on the ‘Preview‘ menu item to open the preview editor.
Click and hold next to the assistant editor’s jump bar, then drag up or left (depending on which editor layout you prefer; vertical or horizontal), to maximize the preview’s screen real estate.
Lastly... the part the author left out is that you need to select the view controller you want to edit in BOTH story board windows and then just drag the preview window to cover more of the screen.
It's not pretty but it's effective.
Edit: wording and grammar :)
This is not currently possible (Xcode 6.3.1 at the time of writing). The best you can do is open your storyboard in one window, open it again in a new window, open the preview, and slide the assistant editor as far left as possible. The preview won't take up the entire window, but it'll be pretty close.

Apple Interface Builder warning: The content rectangle doesn't lie entirely on screen with the menu and may not be completely visible for all screens

A warning comes up in a MainMenu.XIB dialogue box. It says:
Object: window(window)
ID: 371
Type: Illegal Configuration
Issue: This windows content rectangle does not lie entirely on the screen with the menu bar and may not be completely visible for all screen resolutions and configurations.
I saw something related to this issue on StackOverflow, but it did not help. Here was the prior response:
In Interface builder select the window and then from the inspector go to the window size tab and move the window away from the left edge. This will get rid of the warning.
Select window by it's title bar.
Open sizing and positioning tab (⌘+⌥+ 5 in Xcode4 and Xcode5) in inspector panel.
Adjust it's position on the desktop so that it is somewhere in the middle of it.
I had the same problem with Xcode 4.5.2
What I ended up doing is also clicking on the window's title bar -> "Show the size inspector" tab.
Then I just toggled the struts & springs in the preview area. Without really changing anything other than toggling on/off.
None of the above worked for me.
For me it seems that my MainWindow's width was too large. I found that at a 1024 it quit giving me the warning!

Resources