Is there a shortcut to close a project in Intellij? - intellij-idea

I frequently have more than one project open and I have been unable to find the shortcut to close a project.

You can do it on your own.
Go to Preference -> Keymap, type Close Project in search bar and set-up your keyboard shortcut for this action. Works for me in Intellij Idea 14.1.2.

For a portable solution, use the menu bar. The shortcut that way would be Alt+F+J.

Related

Change suggestion choice shortcuts Intellij

In Visual Studio Code I can change the keyboard shortcuts for navigating the suggestion window easily.
Can I do the same in Intellij IDEA? I havent' been able to find a way so far.
In IntelliJ IDEA you can customize the keyboard shortcuts for the Up and Down actions in the Keymap Settings.

Shortcut to Close Intellij File Tab

I love intellij's file tab but I can't seem to find a way to shortcut closing a tab similar to the behavior of ctrl + w in chrome. I can't find the option in the keymap editor. Am I missing something or is this not implemented?
I found this page but it doesn't include the action name. I would use ctrl + f4 but my window manager has that reserved and I would rather change it.
Open Settings by hitting Ctrl+Alt+S
Click: Keymap
Search for: Close
Under Main menu > Window > Editor Tabs, find Close.
Right-click and click Remove Ctrl+F4.
Right click and click Add Keyboard Shortcut
Add your new custom Keyboard Shortcut.
IntelliJ will tell you if the shortcut clashes with another shortcut performing a different action.
Alternatively, open/edit your Linux Window Manager Settings and remove the Ctrl+F4 mapping to allow other programs like IntelliJ to make use of it.
For PC-based keyboards, the shortcut to close tabs is CTRL + F4,
not to be confused with ALT+F4.
Current tab can be closed with:
Ctrl + F4
Works on Intellij Ultimate 2016.3
On mac OS, Intellij 2018.3 version, 'Command + W' does close the file tab.
As we can see in the image in this discussion:
Go in Settings >> Keymap >> Main menu >> Other >> [Close Active Editor] and change to Ctrl+W.
I'm on version 2020.1 and this has changed to Ctrl+4

How to expand folder branch in Project Window Intellij IDEA?

Sometimes I close folder/package in Project Tool Window and then I should click every folder in it to open them . How to avoid this and open all folders/packages quickly?
* on numpad
Also see IDEA guide about Title bar context menu and customize project window as you need.
Navigate to any folder / package by name! Use the shortcut Shift+Ctrl+N(on Mac ⇧+⌘+N) in the pop-up window type name of folder / package, and end of name add /, for example src/. See here guide for more understanding.
Use the great feature Speed Search for quick navigation:
And also use shortcut Alt+1 to open, Shift+Esc to hide Project Tool Window.
after every press numpad * folders will be expaned more and more

How to open two side by side window in eclipse kepler

Can someone tell me how to open two or more file editor in eclipse kepler?
In before version like helios it can be open by shortcut ctrl + 8.
Which looks something like this in helios
But in kepler I am not able to do this.
Open your file and then Window -> New Editor
I see that in Kepler this feature hasn't a shortcut binding anymore. You can make this yourself by going to Preferences -> General -> keys and search for "new editor". Then click Binding and press the shortcut you want.
You can achieve this indirectly, like first opening both the files then click on your file header in your editor and just drag towards the right.
Eclipse will automatically creates two seperate views like you have shown.
Window / New Editor opens a second editor. It does not seem to have a default key binding.
When the second editor is open drag the tab to open the windows side by side.
What command is Ctrl + 8 bound to in your workspace ? I've looked at 3.8.2 but can't find it (even though I do vaguely remember doing something like this).
There is a way.
Window -> Editor -> Clone
Drag out window to console and it will divide in two parts ..then put both editor side by side.

How to set single clicking to open file in IntelliJ IDEA?

And what are counterparts to eclipse's declaration view and javadoc view?
In the Project View click on the "gear" icon and enable the Open Files with Single Click option:
Use Ctrl+Q for Quick JavaDoc and Ctrl+Shift+I for the declaration pop-up.
Now it's available in a simpler way. In the Project View click on the Gear icon and then click Open Files with Single Click:
Go to Preferences and turn on Enable preview tab, that will enable Open Files with Single Click for all projects.
Javadoc opens with Ctrl+Q
There's no declaration view per se, however, you probably will be satisfied with Ctrl+Shift+I shortcut for quick lookup.
Don't know of any ways to configure it to open files on single clicks. Somehow, if you get used to the shortcuts, you skip using mouse very much. For instance, Alt+Home will bring the navigation bar up and you can move with arrows and open the file with Enter. Or just use some other shortcuts like Ctrl+N or Ctrl+E depending on the context.