How to remove "Computed|Layout|Font|Changes" section in safari devtools? [duplicate] - safari

How to hide the right bottom section (style section) of dev tools?

By default, this is the way it is placed
But from the settings -> preferences -> Panel layout -> "Horizontal"
With this option, we can bring the style pane to the bottom

There's no way to hide it. You can resize it so that it's pushed off to the side, as wOxxOm mentioned.
Here's a different UI setup that you may prefer:
If you undock your DevTools window and make it narrow, the Styles pane moves below the DOM Tree. From there, you can minimize it.
You can also achieve this UI setup just by making your DevTools window more narrow. You don't have to undock it.

Related

Hiding the tabs appearance of intellij idea 2018

I am trying to hide the tabs screen (which i placed on the left, see screenshot 2), just as other screen parts kan be hidden. I am using intellij idea 2018. I have the tabs appearance set to the left, see screenshot 2. I can't find any options to automatically hide this left screen, just as is possible with the projects view (screenshot 3).
Any idea's?
1) My main development view
[2) The tabs options
3) Projects view
You can set placement to "none" if you want to hide it completely. I don't think there is a way to temporarily hide them.

Intellij documentation popup hides warning popup

In the Intellij Settings I activated Editor > General > Show quick documentation on mouse move and I like it. But when there is a warning message also shown as popup when the mouse hovers over, then the documentation popup just hides the warning like this:
Well, that's not nice. Is there a way to solve that?
The are a couple of alternatives to displaying the quick documentation as a popup:
Display the quick documentation in a separate panel.
Display the quick documentation in a floating window.
To display the quick documentation in a separate panel:
Position the mouse so that the quick documentation popup is displayed.
Click the Options icon in the bottom right of the popup.
Select Open as a Tool Window from the drop down menu.
After doing that the quick documentation popup is displayed in a panel on the right. It is still automatically updated as you move the mouse.
Alternatively, to display the quick documentation as a floating window:
Click the Options icon in the top right corner of the panel.
Select Windowed Mode from the drop down menu.
After doing that the quick documentation is shown as a floating window which you can position wherever you want. You could even place it on another screen if you have multiple screens. Again the content is still automatically updated as you move the mouse.
Select Open as a Popup from the Options drop down menu on the panel or the floating window (or press CTL/Q) to revert to using a popup for the quick documentation.
The best choice is a matter of personal taste, but both of those approaches would solve your overlapping popups problem.
Update:
The previous screen shots were produced using IDEA Ultimate 2018.1 EAP. With Ultimate 2017.3 it seems that the situation is slightly different. After clicking the Options icon, only a control to adjust the font is shown. In that case click the Pin icon in the top right of the window:
After doing that click the Options icon in the top right of the window to see the menu options:

Disable IntelliJ Method Path Toolbar [duplicate]

There's the navigation bar and it's possible to hide it in menu. But, in the last version IntelliJ IDEA added another kinda navigation bar.
It looks like an editor gutter but placed at the top of the active editor. It show the name of the class and method with the current caret position.
Is there a way to hide it?
To disable this feature, uncheck Show breadcrumbs in Settings/Editor/General/Appearance.
Source

FinderSync issues with sidebar icon, toolbar icon and context menu

I am developing a mac app that must provide support for FinderSync application extension. Everything works fine, except some sidebar and toolbar icon issues.
Is there a way to programatically add the toolbar and sidebar icons without user intervention?
As from documentation, I didn't find anything to help me do that. They refer to these icons, by mentioning that the user must manually drag the folder manually to sidebar, or manually customize the toolbar, but not API to achieving this at runtime.
However there are apps that add themselves back if someone removes them from the toolbar.
Is there other way to display an icon for my folder, except iconset? I noticed that there are other apps out there which do have an icon in the sidebar, but they do not seem to have an icon set in bundle resources and the CFBundleIconFile is set to an icns resource.
Is there a way to disable a menu item in menuForMenuKind: ? In a normal NSMenu situation, the menu item should have no action or target, but this is not the case. Even if I do so, menu item is still enabled.
Thanks a lot for your help!
Welcome to the world of pain.
I've been developing Finder Sync extension as well, so here are answers to your questions:
Now I'm searching for the way to add programmatically Toolbar button, I saw some phrases that this can be done.
To add item to sidebar, you should use some LSSharedFileList code:
Add Item to Finder Sidebar
Via the same API you can check if your item is present in the sidebar, and do not add the duplicate.
Now (since Mac OS X 10.11) sidebar icon can be changed only via iconset. Previously it was possible to change it via Finder code injection, which is not allowed in 10.11.
Just use [menuItem setEnabled:NO]. Also please note that not all menu stuff is available in 10.10 - for instance, checkboxes are not shown and separator item is shown as space. Also, sender parameter in your handlers is always empty NSMenuItem object.

NSToolbar in the NSPreferencePane

I'm trying to implement my app's settings. So I implement Preference Pane but I need to insert Toolbar to it. That is how looks my IB:
And this is how looks my pane from System Preferences:
You see, my window new height = old height - toolbar height. This is my first time I work with toolbar and prefpane, can you answer is there any restriction to use toolbar iside of prefpane?
The System Preferences application already sets a window toolbar so you cannot have a toolbar in your preferences pane.
I recommend using tabs; look at the NSTabView and NSTabViewItem classes.
Note that NSTabView does not actually require tabs to be displayed (though I recommend making tabs visible to the user). You can configure NSTabView to have no tab frame and still take advantage of it for panel-swapping.