For example, I have to click "VCS->git->pull" to update a project. How to configure the UI to make those operations executed by commands that are directly available to users?
What you can do is assign a shortcut for specific command.
Intellij -> Settings -> Keymap -> Version Control System -> Git ->
Repository
Then Right click on pull and
add Keyboard shortcut
Or For Add Icon Pull to your Toolbar you can
Right click on toolbar -> Customize Menus and Toolbars -> open Main
Toolbar node -> click on position where you would like to put new
action -> Add After -> Select the action ( Main Menu - VCS
- Git - Repository - Pull -> OK )
If you want you can custom the icon also.
Related
I have several debug tabs in Intelij IDEA:
If I push Ctrl+Tab IDEA suggests me to open another opened files.
Is there any hotkey to switch between debug tabs?
It should be Alt + Left / Right. And it works in any window which has tabs (Project View, Editor, terminal, etc.)
You can see it in Settings -> Keymap then Main menu -> Window -> Editor Tabs: Select Previous/Next Tab
In new version 2017.3 they added this feature and I can't find menu to turn it off.
Despite the post's title, I assume you are asking for a menu entry to fully collapse a partially or fully expanded project in Intellij Idea (i.e. "How to un-show all files...", not "How to show all files...").
I don't know of any menu entry to do that. However, you can just hold down the left arrow key to completely collapse the entire project as long as you have any node in your project selected (per my comment to this SO post: Intellij, project navigation. Expand all folder and file tree).
If you just tap the left arrow key instead of holding it down it will collapse the structure for the currently selected node.
For the key mapping see File -> Settings... -> Keymap -> Editor Actions -> Left.
How do i trigger the cmd + click behaviour (Go to Class, go to declaration etc) in IntelliJ when my current keymap uses Eclipse (MacOS)?
I'm currently switching from Eclipse/STS to IntelliJ. So far, i've changed the keymap to use Eclipse (MacOS), so most of the familiar keyboard shortcuts i use still works.
control + click does the functionality that i want using Eclipse (MacOS) keymap but this also triggers system behaviour of right click, so menu pops out the same time that the go to class/variable triggers. Is there a way i can set or use cmd + click to trigger the desired behavior?
Go to Preferences > Keymap.
You have to copy the Eclipse (MacOS) keymap to a new name, in order to make changes: select the Eclipse (MacOS) keymap, press the Copy button and give it a new name, e.g. Eclipse (MacOS) 2.
Then click into the filter field, enter declaration, then in the tree area do right-click on the Main menu > Navigate > Declaration line in order to activate the context menu. The result should look like this:
Select Add Mouse Shortcut from the context menu, a dialog opens. Perform into this dialog the key + click combination you wish to add, in your case cmd + click:
Confirm the new Mouse shortcut with Ok, then close the Preferences dialog also with Ok or Apply. Done.
Note: you can delete the ctrl + click mouse shortcut, if you wish to not use it by mistake, by selecting Remove ^Button1 Click in the context menu.
When I upgraded to WebStorm 2016.3 the SASS and SCSS file disappeared from the new file dropdown in the project explorer.
I can't find where to configure the content of that menu. Preferences -> Editor -> File and Code Templates only modifies the templates, not which are available in the menu.
I'm certain the setting is staring me in the face, nonetheless I cannot find it.
You can create a new SCSS file template in Preferences | Editor | File and code templates - new templates will appear in File/New menu. But note that new scss/sass files can be created via File/New/Stylesheeet - just choose 'SCSS File' or 'Sass File' as stylesheet kind
It's on Settings -> Appearance & Behavior -> Menus and Toolbars -> Favorites View Popup Menu -> New. Then click an item to remove with the left button then click 'Remove" on the right.
Is there a way to enable being able to scroll past the last line in IntelliJ IDEA?
It's a nice feature that exists in some editors, as it lets you keep your eyes at the middle of the screen, rather than have to stare at the bottom of it
Is there any way to enable something like this? Either through the standard settings or via plugin?
File -> Settings -> Editor -> General -> Check Show virtual space at file bottom
Mac: IntelliJ IDEA -> Preferences -> Editor -> General -> Check: Show virtual space at file bottom
PC: File -> Settings -> Editor -> Check: Show virtual space at file bottom
Short way:
You could also hit shift key twice to open menu and write "show virtual space" and then just click on the option to toggle it on/off.