Configuring project browser - netbeans-8

Is it possible to set 'Recent Projects' panel to open with external window? Currently it opens in tab with latest project so all I can do is just remove it.
I'm using Netbeans 8.2.

If you are referring to the Recent Projects list shown on the My NetBeans tab of the Start Page then you cannot open it with an "external window" since it is just data on a Start Page tab.
However, you can float the entire Start Page, making that an "external window". To do that:
Right click the Start Page tab which contains the list of recent projects.
From the drop down menu select Float. Alternatively, position the mouse cursor over the Start Page tab, hold down the right mouse key and drag the page to its desired location on the screen.
Notes:
The floating is persistent across restarts of NetBeans.
To restore a floating window to its previous location just right-click its tab and select Dock from the drop down menu.
This works for any window with a tab in NetBeans.

Related

Show a most recently used tab after dragging a tab in IntelliJ IDEA

In IntelliJ IDEA, I want to show a most recently used tab after dragging a tab like eclipse. For example,
a.java
b.java
c.java(Current)
...
d.java(Previous) -- hidden by dropdown
In case 'c.java' was dragged, the editor shows 'a.java' instead of 'd.java'.
I want it to behave same as 'Activate most recently opened' setting for closing tabs. But it doesn't work for dragging in case the previous tab is hidden by a dropdown menu. Is there any setting for it?
No, there is no setting for it.

Project and Structure navigation splitting in PhpStorm 7/8/9

Anyone know how to make project and structure navigation set in splitting mode?
See images ( I was able doing this, but don't know how )
This took me a really long time to figure out.
For you to set this up, you need to
First: make sure each Tool Window is set to "Pinned Mode" and "Docked Mode" (you can do this by right clicking on the Project/Structure tab)
Second: the Tool Window you want on top should have the "Split Mode" NOT checked
Third: the Tool Window you want at the bottom should have the "Split Mode" checked
Step :
Preferences
Appearance & Behaviour
Appearance then untick side-by-side layout on the left at Window options
Project tab move to the left side and make sure untick split-mode
Structure tab move to the left side and make sure tick split-mode
Sure, just grab your "Structure" tool window button (the one on the left side, that has "7" in the title) and drag it to the bottom part of the same side.
Alternatively just right click on tool window button or title bar and choose "Split Mode" -- it will move it to the opposite part of the same side (e.g. will move from Left Top to Left Bottom -- just as per your image).
Official manual page.
As of version 2019.1, PHPStorm tool windows no longer behave the way the other answers say, that is, there is no explicit "split mode". Instead, it uses the location of the tab; you can no longer split tool windows if they are in the same tab group, but you can display two tool panes by putting them in different groups. So if you're looking for the standard projects half-pane at the top, and structure at the bottom, put structure in the top left group, and structure in the bottom left, and then enable them both - and the view will split.
To reiterate – if you have both project and structure in top left, there is no way to split them; you must move the tab.
To whom the other answers did not work:
At first go to Windows menu then click Restore Default Layout
Then go to View => Tool Windows => Project
Then go to View => Tool Windows => Structure

How to save window position in Intellij Idea

When i open File structure Dialog (that can he opened at Ctrl + F12 shortcut) in the start position on my monitor i have a problem.
I try drag and drop this window to my comfort position. After that i close him ( i think that helps, but it's not)- the dialog showing up in start position, not in position related on my decision. How i can save my dialog position? Because it's so irritation.
The following worked for me on Android Studio 2.2.3, but should do for IntelliJ IDEA:
On the menu bar: Window > Store Current Layout as Default
+ Update ( 2017 - Sep - 24 )
When using Windowed Mode the above failed. So I had to do the following.
First, choose what Tool Window you be setting up. For example 1: Project.
Left-click the item to show it
Right-click the item and select Windowed Mode
Choose the window position that you like
Left-click again, to close it.
To make sure, left-click again, to open it.
Finally, select on the menu bar Window > Store Current Layout as Default
Restart the IDE to check, but it should work.
This was tested on AndroidStudio 2.3.3 and IntelliJ IDEA 2017.2.4 with 2 monitor screens (displays).
As of now 2020 September you can do this via creating a new branch in git for the same project.
So lets say you have Branch A to use view/setup for one task. When you create branch B you can then change this view/setup, because when you switch back to branch A, your setup there (which window is on left/right, etc.) will be restored.

IntelliJ new tabs opening on the left side, why?

Say I have a Java class, and navigate to another method by CTRL + CLICK .. The new file opens, in a tab that is positioned to left of the current one. Why? It should open to the right.
Is this a bug? It goes against any other known ways of opening new tabs, like Chrome, Firefox, etc. Is it possible to alter this behaviour?
I would like it to open the tab either at the right side of the current tab, or at the end of the right side.
If you want to open a new tab at the end of the right side, now IntelliJ IDEA (mine is version 2017.2.4) offers you the option.
Right click at the tab bar and select "Open New Tabs At The End" option.
UPDATE (November 2019)
If you want new editor tabs to be opened at the end, the latest IntelliJ IDEA versions have the dedicated option "Open new tabs at the end" for that in the settings:
Settings > Editor > General > Editor Tabs
Screenshot taken from IntelliJ IDEA 2019.2.4 (Ultimate Edition)
This behavior is by design, otherwise if you follow the link in the editor and the new tab opens on the right, after closing this new tab you will be navigated to yet another editor tab on the right instead of returning to the tab from where you started.
This breaks the workflow when you navigate with opening a new tab and want to return back by closing the new tab. It was decided to open new tabs on the left when Activate right neighbouring tab option is enabled.
If you don't like this behavior or want to suggest a better solution, welcome to YouTrack.

How to automatically navigate to current class in IntelliJ IDEA Project Tool Window?

I would like to have a keyboard shortcut in IntelliJ IDEA that has the following effect: the tree in the project tool window expands to show the currently open class (or file), and this class becomes selected in the tree.
Is this possible?
Navigate (View in older versions)| Select In... (Alt+F1), Project View (Enter).
It's also possible to enable Autoscroll from Source option in the Project View so that current file is automatically selected.
IntelliJ IDEA 2019
Left click on the wheel > Always Select Opened File
There is also: Open Files with Single Click - the selected file from the tree view will be opened in the right side.
Old IntelliJ versions
Right click on Project/Packages area > Autoscroll from Source
or
Left click on the wheel > Autoscroll from Source
There is also: Autoscroll to Source - the selected file from the tree view will be opened in the right side.
Try
Alt F1(Select Target dialogue) + Enter.
Click at this icon on the top of tree-box.
you can do this also using the upper dynamic menu that change for every opened file. just click twice on the last folder and the file will be on the same folder branch
also good for pycharm
You can also make your own key combo to the "select in tree view" via prefs. I often do: shift + cmd + a and then just write select in.. and then press enter.