Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change default tool window behaviour in IntelliJ IDEA 2016

Every time I open a new project in IntelliJ IDEA, the first time I open a particular tool window, for example 'Maven Projects', it appears in 'pinned' mode and remains visible until either I close it, or I go to the view settings for the window (the little cog) and deselect "Pinned Mode". I don't want any of my tool windows to be pinned so this gets a little annoying.

Do you know of a way to change the default behaviour of new project / tool windows?

like image 513
Chris Peacock Avatar asked Sep 28 '16 09:09

Chris Peacock


People also ask

How do I change the default view in IntelliJ?

From the main menu, select File | Manage IDE Settings | Restore Default Settings. Alternatively, press Shift twice and type Restore default settings . Click Restore and Restart. The IDE will be restarted with the default configuration.

What is the default view mode of the tool sets?

Dock Pinned: This is the default view mode when the tool window is attached to the tool window bar and is always visible along with the editor and other pinned tool windows.

How do I change windows in IntelliJ?

You can right-click the window title bar and use the context menu to configure its viewing mode, associate the window with a different tool window bar, or resize and hide the window. Hide the tool window . To hide all the tool windows, press Ctrl+Shift+F12 .

How do I get the build tool window in IntelliJ?

From the main menu, select Build | Build Project Ctrl+F9 . Check the results in the Build tool window.


1 Answers

As far as IJ 2016.2 I don't know about a dedicated setting for this. However I used an approach which allows you to define a default layout for all projects. Although the window-pinning works, which is what this question is about, some may not be persisted, such as Group Modules setting in the maven tool-window.

Nonetheless, to configure the pinning, you need to do 2 simple things, which you can also see in the GIF below:

1) Manually go and unpin all desired windows

2) Open the Windows menu and select Store current layout as default

unpin windows & save layout as default

P.S. If you'll be using tool-windows that you've never opened before, or install new plugins which add their own tool-windows, just follow these steps again.

like image 99
Morfic Avatar answered Sep 21 '22 14:09

Morfic