keyboard-shortcuts

Automatic namespaces import

你。 提交于 2019-11-29 23:26:32
Is there a way in Visual Studio (a hotkey) to automatically import a type (or choosing between known namespaces) like the Ctrl + O in Eclipse? Larry When the red caret appears at the end of your member, just hit Shift + Alt + F10 , then use arrows keys to choose the right option: mattlant Yes, Visual Studio can add the using for you. When you type in a class name, hit Ctrl + . and then Enter (the first option is 99.99% the right one, so just hit Enter ). And you can have it add the using at the top of the file for the namespace of that class. I use it all the time. This is easier than Shift +

Shortcut to switch between design and text in android studio

穿精又带淫゛_ 提交于 2019-11-29 22:43:53
Does anyone know some shortcut to switch between design and text in android studio while editing xml layout? While I can switch from design view to source using ctrl+B (and need to select something in layout before), I have no way to go back. You can find it in Settings->KeyMap "Select next Tab in multi-editor file" CRTL+SHIFT+RIGHT (it may depend by platform). You can change it. ALT + Shift + Left/Right works for me. (Windows) ALT + SHIFT + LEFT/RIGHT on windows and ubuntu. CTRL + SHIFT + LEFT/RIGHT on MAC Move between Design / Text tabs in layout’s view: (Mac) : control + shift + ← / →

Fix key settings (Home/End/Insert/Delete) in .zshrc when running Zsh in Terminator Terminal Emulator

久未见 提交于 2019-11-29 21:27:59
I'm running Ubuntu 11.04. I installed the Terminator Terminal Emulator 0.95, and Zsh, version 4.3.15. I have (commonly known) problems with my keys inside the Zsh. At least these: Home/End, nothing happens Insert/Delete/PageUp/PageDown: a "~" is typed I already tried some configurations for .zshrc which should solve the problem, but no approach really worked so far. Maybe this is related to the combination of Terminator and Zsh. I took the 2 configs on this page: https://bbs.archlinux.org/viewtopic.php?pid=428669 . Does oneone have a similar configuration (especially Terminator and Zsh) and

Xcode - cycle through open windows

岁酱吖の 提交于 2019-11-29 21:23:57
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. On a Mac you can cycle through any program's windows using Cmd + ` (backtick) On Xcode4 same command is achieved with Cmd + Ctrl + ↑ / ↓ . Basic MacOS stuff: ⌘` shift⌘` See "system preferences>keyboard>keyboard shortcuts>Keyboard & text input" for all the juicy details. All Cocoa: ⌘< and ⌘> to cycle through application windows. qwerty_so Open Preferences/Key Bindings and look

In PyCharm, how to go back to last location?

元气小坏坏 提交于 2019-11-29 21:12:22
I've tried these answers, but nothing happened: Keyboard shortcut for Jump to Previous View Location (Navigate back/forward) in IntelliJ IDEA For example: I'm navigating to a function body, put the cursor on a function call, click F12 ("go to definition") from the new location (the function's body), how do I return to the function call? I've tried these, but they didn't do anything: Ctrl + Shift + Left Ctrl + Shift + F2 <-- this is my default mapping Alt + Shift + Left Ctrl + Shift + backspace don't try that on linux: Ctrl + Alt + backspace Or maybe F12 ("go to def") isn't "strong enough" to

Undo closed tab in Eclipse?

a 夏天 提交于 2019-11-29 20:54:52
I was wondering if it were possible in Eclipse PDT to reopen a closed tab by mistake. For example in Firefox I can do Ctrl + Shift + T . Yes it's possible. Close a tab and hit the left yellow arrow in the Eclipse menu bar above. You can adjust the keyboard shortcut for that in the eclipse preferences under General > Keys . On Mac it's ⌘ + [ cetnar Try Alt + left arrow that will go backward in history - if tab is closed it will reopen it. Navigating back through the edit history does work sometimes, but not if you close the tab without actually activating it. You can also try Alt + F to access

How to globally map AltGr key to Alt key?

我只是一个虾纸丫 提交于 2019-11-29 20:17:07
I want my AltGr key to behave exactly like left Alt . Usually, I do this kind of stuff with Autohotkey , but I'm open to different solutions. I tried this: LControl & RAlt::Alt And Autohotkey displayed error about Alt not being recognized action. Then I tried the following code: LControl & RAlt:: Send {Alt down} KeyWait LCtrl KeyWait Ralt Send {Alt up} return which sort of works - I'm able to use the AltGr key for accessing hotkeys, but it still behaves differently: When I press and release the left Alt , the first menu item in the current program receives focus. Pressing and releasing AltGr

Eclipse keyboard shortcut to indent source code to the left?

与世无争的帅哥 提交于 2019-11-29 20:01:06
I've looked in the keyboard shortcuts list in Eclipse but can't find keyboard shortcut to indent source code to the left. Surely there is one? jwismar In my copy, Shift + Tab does this, as long as I have a code selection, and am in a code window. Oren Nitzan Ctrl + I (indentation). See at http://www.rossenstoyanchev.org/write/prog/eclipse/eclipse3.html Search for Indentation. You can use Ctrl + Shift + F which will run your formatter on the file and fix indentations along the way also. CookieOfFortune I thought it was Shift + Tab . Raghu control + shift + F will do the work jjisnow Obviously

Visual Studio - Shortcut to Navigate to Solution Explorer

徘徊边缘 提交于 2019-11-29 19:38:25
Is there a keyboard shortcut in Visual Studio (aside from CTRL + TAB and selection) that would take me from inside a document directly into the solution explorer? I don't want to customize any shortcuts or change any default behavior. CTRL + ALT + L should shift focus to the Solution Explorer. For visual studio 2012 use: CTRL + [ + S this selects your current document in the solution explorer. When using VS 2012 with the Visual C# 2005 keyboard mapping scheme : CTRL + W , S I find this easier to memorize: All shortcuts beginning with CTRL + W are for opening or navigating to W indows: CTRL + W

Shortcut to open file in Vim

夙愿已清 提交于 2019-11-29 19:02:54
I want to open a file in Vim like in Eclipse using Ctrl + Shift + R , or via the Ctrl + N option of autofill. Invoke a keyboard shortcut, type the file name/pattern, and choose from all the matching files names. I know opening it normally like: :tabe <filepath> :new <filepath> :edit <filepath> The problem here is that I have to specify the whole file path in these cases. f3lix I recently fell in love with fuzzyfinder.vim ... :-) :FuzzyFinderFile will let you open files by typing partial names or patterns. dkretz What I normally do is e . (e-space-dot) which gives me a browsable current