keyboard-shortcuts

Shortcut to create a method stub in eclipse

放肆的年华 提交于 2019-12-03 23:59:55
I think some shortcut to create a method stub in eclipse might be useful. Does anyone know how to do it? Type public_method (see Java/Editor/Templates in preferences for more options) or method name and press ctrl + space . In Addtion to the accepted answer: Typing pu for a public method (with returntype and name )is enough: Type pu and then hit CTRL + SPACE and then ENTER . Mike Type your method name and hit Ctrl + Space . Also worth noting is, type 'test' and hit Ctrl + Space and it will give you the option to create a test method stub. jo_ How about loking to this link eclipse ref doc ? It

Jump to method call from method definition in eclipse [Java perspective]

风格不统一 提交于 2019-12-03 23:16:43
(In eclipse) We have a shortcut key to jump to method definition from wherever the method is called, i.e. by using F3. But what if I am currently on the method definition and I want to go that location where the method is called or used. Any shortcut for this? You can try Ctrl+Shift+G which is a equivalent to find references. or Ctrl+Alt+H which brings up call hierarchy. It's Ctrl + Alt + H to bring up the call hierarchy. 来源: https://stackoverflow.com/questions/12348567/jump-to-method-call-from-method-definition-in-eclipse-java-perspective

Dreamweaver shortcut to swap between source and dependent files

白昼怎懂夜的黑 提交于 2019-12-03 21:40:34
Dreamweaver (CS 5.5) displays source code and dependent files as sub-tabs (?). You can swap between tabs control+shift+tab, but how to swap between source and dependent files? Liran H This issue has bothered me for a long time now, and I am pleased to say I have found a partial solution to it. There is no keyboard shortcut for switching between related (dependent) files, however there is a shortcut called "Go to Source Code", which by default is Ctrl+Alt+`. Optional: This shortcut (and any other shortcut) can also be edited via the "Keyboard Shortcuts" menu which can be found under the "Edit"

Send a keyboard shortcut to a Mac OS X Window

泪湿孤枕 提交于 2019-12-03 18:53:31
问题 Is it possible for one window on a Mac desktop to programatically send a keyboard shortcut or key sequence to another? I'm looking to control an application which offers no API to do such, by using the application's keyboard shortcut features. I'm fairly sure this can be done on Windows, but Mac? Thanks 回答1: One way to do this is embedding Applescript in your Objective-C application. For example executing this apple script, sends Command + M to System Events application: tell application

Xcode - cycle through open windows

依然范特西╮ 提交于 2019-12-03 18:30:31
问题 Is there a way to cycle through open windows. I quite often use this when I want to reference something in another file. On windows this would typically be Ctrl + Tab , but I can't find a way to do this in Xcode on a Mac. 回答1: On a Mac you can cycle through any program's windows using Cmd + ` (backtick) On Xcode4 same command is achieved with Cmd + Ctrl + ↑ / ↓ . 回答2: Basic MacOS stuff: ⌘` shift⌘` See "system preferences>keyboard>keyboard shortcuts>Keyboard & text input" for all the juicy

Eclipse jump to Editor tab shortcut

和自甴很熟 提交于 2019-12-03 16:53:51
问题 I am wondering if there is any way to have a keyboard shortcut to a tab. Like for example Firefox having Alt + 1 / Alt + 2 / Alt + 3 to go to tab 1 / 2/ 3 etc... Cheers, 回答1: You can use F12 to go to the current editor and Ctrl + E to get a list of open editors. Then you can type a couple of characters to narrow down the list. The currently visible tabs are at the end of the list (use End or Up to jump there) Ctrl + PageUp and Ctrl + PageDown select the previous and the next tab. Ctrl + Q

How can I navigate the call stack in Visual Studio using just the keyboard?

时光总嘲笑我的痴心妄想 提交于 2019-12-03 16:30:00
问题 My current solution is to hit Alt D , W , C , which navigates via the menus to the call stack, and then I can use the arrows to navigate. But once I press Enter on a particular frame, I have to repeat again. Is there a more fluid way to navigate the call stack with just my keyboard? ReSharper oriented answers are OK for me if you have one! 回答1: I use the VS2010 default keyboard mapping scheme and by pressing Ctrl + Alt + C brings up the call stack window in which I can use the arrow keys to

Visual Studio plugin to show keys pressed

余生颓废 提交于 2019-12-03 16:25:44
My team is beginning to embrace pair programming and some of us are more familiar with Resharper (and other productivity tools) than others. I was watching a DNR TV episode with Mark Miller and there was a Visual Studio plugin he had that showed which keys were pressed. I think this would be a great plugin to have while pairing, as well as doing presentations with other developers. You can see the plugin in action here . Does anyone know if this plugin is publicly available? If not, is there another one similar to it that is available? I think Key Jedi (under the Other section) might be what

Shortcut to collapse all documentation headers/comments in Visual Studio

扶醉桌前 提交于 2019-12-03 16:13:31
问题 Is there a way to collapse all documentation headers (/// comments) in the current file in visual studio (2008+)? 回答1: See my macro for collapsing XML comments which does exactly what you need. 回答2: You can try Ctrl + M , Ctrl + O , but that will collapse function bodies as well. 回答3: What Anton said. If what you want is not on Edit|Outlining, you'd need to write a macro or a DxCore plugin to walk it and Ctrl + M , M each relevant block. 来源: https://stackoverflow.com/questions/2116685

keyboard shortcut to move from one code block to another in VS2008

别来无恙 提交于 2019-12-03 16:03:39
In Visual Studio 2008 is there a shortcut to move from one block of code to an another block of code directly? Like from one function to say: the beginning of next function. Currently all I can do is press-press arrow keys. Edit: I am aware of the Ctrl+] to jump between matching braces but that does not relieve me from multiple up/down presses initially. Also the "Edit.NextMethod" does not work as it is always disabled unless you are editing VB Code (It does not appear to work their either). Flot2011 If you place your cursor to the left of the opening { , then Ctrl + } will move you to the end