keyboard-shortcuts

How can I go to the next Eclipse marker (e.g. build error) using the keyboard?

爷,独闯天下 提交于 2019-11-27 10:31:38
问题 Suppose I make a method signature change that breaks several callers, and I want to review the call sites manually to update them. Once I change the signature, my "Problems" view shows, say, a dozen errors. What keys can I hit to navigate through them while leaving the keyboard focus in the editor for fast fixups? (It's been a while, but I think the Visual Studio equivalent is F8 .) Note that this question does not duplicate Eclipse: How to go to a error using only the keyboard (keyboard

Jump to editor shortcut in Intellij IDEA

六月ゝ 毕业季﹏ 提交于 2019-11-27 10:21:37
I can use F12 to jump to project tree (if it was the last tool that I used), but is there a shortcut for jumping back to editor? Esc always brings the focus back to the editor. M.Rez With Alt + Home you can actually put focus on selecting the file and hit enter in order to go to the editor. Esc is not always going to put the focus on editor. For those on Mac (you don't have a Home key), use Command + E to open the recent files then hit enter. Marcos Vasconcelos Pressing F4 ( Jump to Source action) in a selected resource in the Project View opens the editor with focus. Another easy way to get

SVN key bindings not working in Eclipse

社会主义新天地 提交于 2019-11-27 10:19:22
问题 I installed Eclipse 3.6 64-bit on a fresh Windows 7. I tried setting some key bindings using the Keys section of the preferences window, namely: Alt + C - commit using SVN Alt + U - update using SVN Alt + R - revert using SVN It all worked flawlessly in the past on Eclipse 3.5 32bit on Windows XP, but it just doesn't work in my recent setup. When I'm navigating to the 'Team' menu, the shortcuts do appear next to the aforementioned actions (i.e. Eclipse writes Alt + U next to 'Update to HEAD')

Keyboard shortcut to paste clipboard content into command prompt window (Win XP) [closed]

无人久伴 提交于 2019-11-27 09:56:22
Is there a keyboard shortcut for pasting the content of the clipboard into a command prompt window on Windows XP (instead of using the right mouse button)? The typical Shift + Insert does not seem to work here. I personally use a little AutoHotkey script to remap certain keyboard functions, for the console window (CMD) I use: ; Redefine only when the active window is a console window #IfWinActive ahk_class ConsoleWindowClass ; Close Command Window with Ctrl+w $^w:: WinGetTitle sTitle If (InStr(sTitle, "-")=0) { Send EXIT{Enter} } else { Send ^w } return ; Ctrl+up / Down to scroll command

Eclipse keyboard shortcut: goto function name

落花浮王杯 提交于 2019-11-27 09:56:16
问题 Suppose I know a function name, but I don't know which file it's declared in. What Eclipse keyboard shortcut can take me to the function I'm looking for? What I'm looking for is similar to Eclipse's: Ctrl + Shift + R except it will search for method names instead. Sidenote With Visual Assist X, I can do this by using the "Find Symbol" feature, which is executed with: Shift + Alt + S 回答1: Yeah, this is an old question, but I have a better solution: what about F3 ? And CTRL + O is what Windows

Sublime Text: Select all instances of a variable and edit variable name

丶灬走出姿态 提交于 2019-11-27 09:55:36
I'm new to Sublime, and I just discovered that if I select a variable (not just any string) in my code, all other instances of that variable get a stroke (white outline) around them: Is there a keyboard shortcut that will let me select all of those instances of the variable and edit them all at once? Things I've tried: Using ⌘ D , ⌘ K , and ⌘ U lets me select them one-by-one, but I have to manually exclude the non-variable string matches: And using Ctrl ⌘ G simply selects all the string matches: Clearly, Sublime is able to differentiate between variable- and string-matches. Is there no way to

How to jump from Intellij terminal to editor with shortcut

风格不统一 提交于 2019-11-27 09:54:52
问题 I know that you can jump from almost all windows in Intellij IDEA to the editor window with Esc . In Intellij's terminal window, this does not work. Does anyone know how to do this with a keyboard shortcut? This would be nice since I can jump from my editor to the terminal with Alt + F12 but I cannot do it the other way without using my mouse. 回答1: UPDATE - March 2016 Since this question is getting some attention, I wanted to remind everyone that you can toggle between the editor and the

Xcode Command-Slash Shortcut to Comment Only Works Sometimes

删除回忆录丶 提交于 2019-11-27 09:49:25
问题 I'm having issues with Xcode being quite unreliable when using the keyboard shortcut to comment or uncomment code ⌘ + / . I can't seem to find a real pattern as to when it breaks, but it usually happens after building and running my code on the simulator. It will not work again until I edit something in any one of my code files. Even if I switch to another file in the main view, commenting via shortcut does not work. Other keyboard shortcuts, such as indenting ⌘ + [ continue to work just fine

How to do system short cuts cross platform integration in Java?

吃可爱长大的小学妹 提交于 2019-11-27 09:34:44
As you may know, the short-cuts of save in Mac OS X is Cmd+S on Windows is Ctrl+S , and the short cuts of close an application is Cmd+Q and Windows is Alt + F4 . But the question is how to do these in a java application? Do I need to find all the short cuts I used in the application, and match the related function depends on different OSs. Any recommendations? Thanks. The Toolkit method getMenuShortcutKeyMask() is useful in this context. While the method returns Event.CTRL_MASK on Windows, it returns Event.META_MASK on Mac OS X. The resulting mask can be used to construct the KeyStroke used in

How to use multiple modifier keys in C#

陌路散爱 提交于 2019-11-27 09:12:03
I am using a keydown event to detect keys pressed and have several key combinations for various operations. if (e.KeyCode == Keys.C && e.Modifiers == Keys.Control && e.Modifiers == Keys.Shift) { //Do work } else if (e.KeyCode == Keys.V && e.Modifiers == Keys.Control) { //Paste } For some reason the key combination in which I hit Ctrl + Shift + C is not working. I have re ordered them, and placed it at the top thinking it might be interference from the Ctrl + C , and even removed the Ctrl + C to see if it was causing a problem. It still does not work. I know it's probably something very simple,