keyboard-shortcuts

Intellij shortcut for quick call hierarchy

岁酱吖の 提交于 2019-11-27 17:46:57
Is there a shortcut key to bring up the call hierarchy of a method inline with the code, in the quick menu format, rather than bringing up the call hierarchy panel? Ulf Lindback If you just want to jump to one of the callers of the method, CTRL + ALT + F7 is the way to go. On a Mac, use: Command + Option + F7 There is a 'Default Keymap Reference' on the 'Help' menu I don't think the inline method call hierarchy exists (please enlighten me if I am wrong). Ctrl + Alt + H shows the call hierarchy in the tool window Alt + F7 opens the dialog to find the usages Ctrl + F7 finds the usages in the

How to jump to the region header from the endregion tag in c# visual studio 2012?

流过昼夜 提交于 2019-11-27 17:39:22
问题 If i have the following #region blah; blahblah; ..... moar; #endregion how can i jump to the top #region label if i see the #endregion tag on my screen? Is there a short cut? 回答1: The answer is Ctrl + ] as already answered by @TheEvilPenguin. But I thought to add this awesome link for other shortcuts as well, which can be helpful in speeding up routine tasks in VS. EDIT : Save the link page as html in your system, as the link might expire in future. 回答2: Ctrl + ] will jump between the start

How to paste in the line where the cursor is?

泄露秘密 提交于 2019-11-27 17:35:53
The command p pastes below the cursor and P pastes above the cursor. What's the command to paste in the line where cursor is? Randy Morris This all depends on the type of data in the register you're pasting. If the data is line-oriented data (yanked with y y for instance) it will be pasted as a whole line above or below the cursor. If the data is character-oriented (yanked with e.g. y 2 w ) then it will be pasted at or before the cursor position in the current line. See :help linewise-register for more info on the interaction between the type of register and the put command. Matthew

Any way (or shortcut) to auto import the classes in IntelliJ IDEA like in Eclipse?

烈酒焚心 提交于 2019-11-27 17:33:36
In Eclipse, while coding in Java and press Ctrl + Shift + O auto import all the Classes automatically. In NetBeans, this is done with Ctrl + Shift + I . Is any way to do this in IntelliJ IDEA? I searched an equivalent shortcut in google, StackOverflow, IntelliJ IDEA configuration and in the official IntelliJ website Keyboard Shortcuts You Cannot Miss IntelliJ IDEA does not have an action to add imports. Rather it has the ability to do such as you type. If you enable the "Add unambiguous imports on the fly" in Settings > Editor > General > Auto Import , IntelliJ IDEA will add them as you type

Is it possible to use arrow keys alone to expand tree node in package explorer in Eclipse on Linux?

亡梦爱人 提交于 2019-11-27 16:55:39
When using Eclipse I browse through the package explorer tree using the keyboard arrows a lot. In Windows I can expand a collapsed node by pressing the → key. In Linux I need to press Shift + → . Is there a way to reconfigure this so that Shift is not required? Put this into your ~/.gtkrc-2.0 and you should be good to go. The Left and Right lines make the requested change, the rest are just my personal additions to make the tree-view act more vim-like. Hope that helps! binding "gtk-binding-tree-view" { bind "j" { "move-cursor" (display-lines, 1) } bind "k" { "move-cursor" (display-lines, -1) }

Visual Studio keyboard shortcut to display IntelliSense

你。 提交于 2019-11-27 16:50:00
What's the keyboard shortcut for Visual Studio 2005 and Visual Studio 2008 to display the IntelliSense box if one accidentally hits ESC and wants the box come back again? BrunoLM Ctrl + Space or Ctrl + J You can also go to menu Tools → Options → Environment → Keyboard and check what is assigned to these shortcuts. The command name should be Edit.CompleteWord . Peter Gfader Additionally, Ctrl + K , Ctrl + I shows you Quick info (handy inside parameters) Ctrl + Shift + Space shows you parameter information. Alexander Chernosvitov The most efficient one is Ctrl + . . It helps to automate

Keyboard shortcut to comment lines in Sublime Text 3

别来无恙 提交于 2019-11-27 16:45:32
In Sublime Text 2 it was possible to comment out a line or a block of lines with Ctrl + / and Ctrl + Shift + / . According to the menu Edit > Comment these shortcuts should be valid, but in Sublime Text 3 (build 3047) they no longer seem to work. Does anybody know the right default keyboard shortcuts for Linux and MacOS? Or is it a bug? It seems a bug: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=11157&start=0 As a workaround, go to Preferences -> Key Bindings - User and add these keybindings (if you're using Linux): { "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block":

What is Eclipse's Ctrl+O (Show Outline) shortcut equivalent in IntelliJ IDEA?

北战南征 提交于 2019-11-27 16:43:51
I like to use Eclipse's shortcut Ctrl + O which outlines the current source. Is there an equivalent shortcut in IntelliJ IDEA? It opens a dialog which allows for quick search of methods and fields in a class. Andrzej Doyle I haven't used Eclipse for years, so I'm not that familiar with the behaviour you're after - but I believe Ctrl + F12 may do what you want: it is the shortcut for the File structure Popup in the default mapping. Shortcuts: Mac: ⌘ + F12 Windows: Ctrl + F12 Ubuntu/CentOS: Ctrl + F12 Above works on IntelliJ 14, 15, 2016, 2017 and 2018 . Karthikkannan Ctrl + F3 in Idea is the

Sublime 3 - Set Key map for function Goto Definition

浪子不回头ぞ 提交于 2019-11-27 16:37:06
I want to create an Eclipse style shortcut Ctrl + MouseClick to open the function/method. Sublime Text 3 has already this function called goto_definition but it is bound to F12 . But I'm not sure how to create this binding. I looked here for documentation but it was too complex. Can you one help me out with this simple key binding? Edit: Following this article I was told to do this: http://webtempest.com/better-definition-navigation-in-sublime-text-3/ [ { "button": "button1", "count": 1, "modifiers": ["super", "shift"], "press_command": "drag_select", "command": "goto_definition" } ] This

How to use arguments from previous command?

不想你离开。 提交于 2019-11-27 16:33:19
I know that Esc + . gives you the last argument of the last command. But I'm interested in first argument of the last command. Is there a key binding to do so? On the same lines, is there a generic way of getting the nth argument from the last command? I know that in a bash script, you can use $0 , $1 etc., but these don't work on the commandline. Also, what about iterating through the 0th argument of previous commands, like we can do with the last argument by continuously pressing Esc + . ? Dennis Williamson Just as M-. (meta-dot or esc-dot or alt-dot) is the readline function yank-last-arg ,