keyboard-shortcuts

Attach a keyboard shortcut to 'Collapse All' items in solution explorer with Visual Studio 2012

杀马特。学长 韩版系。学妹 提交于 2019-12-03 09:41:54
Like I said in the title of this question, is it possible to attach a keyboard shortcut to collapse all items in the solution explorer with Visual Studio 2012? In previous version; 2010, I was able to create a macro to enable this feature but in Visual Studio 2012, there is no more support for macros. I'm able to right click onto item in the solution explorer and choose 'Collapse All' but I prefer to just typed 'Ctrl+Shift+C' to do the same job. FWIW, this is the best I've been able to come up with so far. Alternative 1 Press Ctrl+¨ to put focus in the search box above the Solution Explorer.

Basic code completion in IntelliJ on Mac

主宰稳场 提交于 2019-12-03 09:38:29
There is very important shortcut for Basic Code Completion in IntelliJ IDE which assumed to be invoked as ctrl+space shortcut on Mac. The problem is this shortcut is system one and used to invoke "Spotlight" in Lion Mac OS. How you guys invoke it then? You either disable/change Spotlight shortcut in the system settings or you change the Basic completion shortcut in IDEA Preferences | Keymap . I think that the question is motley asking to what key combination do you change it, and why JetBrains haven’t implemented the update to the mac keymap by themselves. Anyways, I’ve swapped the Ctrl+Space

How to pass a line to the console in sublime text 2 editor

半腔热情 提交于 2019-12-03 09:19:50
问题 I use RStudio for working with R programming language and find the ctrl+enter shortcut to send a line to the console extremely useful in troubleshooting my work. Now I am using sublimetext2 and I would like to do the same thing in RStudio, send a line to the console. Is there a way to send the existing line to the console or a SublimeREPL console? 回答1: I don't know about the console, but this is possible with SublimeREPL. As long as you have a REPL and a file of the same language open at the

Vim delete visual selection and switch to insert mode

会有一股神秘感。 提交于 2019-12-03 09:13:54
I often find myself doing a visual selection, then hitting d or x to delete and switching to Insert mode with i . Is there a single keystroke that will delete the current visual selection and put me in Insert mode? Use c or s to change the text and remain in insert mode I think you just want to press s The vim help just answers your question exactly: {Visual}["x]c or *v_c* *v_s* {Visual}["x]s Delete the highlighted text [into register x] and start insert (for {Visual} see |Visual-mode|). {not in Vi} *v_r* {Visual}["x]r{char} Replace all selected characters by {char}. *v_C* {Visual}["x]C Delete

Keyboard shortcut to display error in IntelliJ

心已入冬 提交于 2019-12-03 08:58:07
问题 I like to use my mouse as little as possible for health reasons. Almost all the common tasks in IntelliJ I can do via keyboard shortcuts, except for displaying the message of an error. How can I have a keyboard shortcut that will show the tooltip of the highlighted error? For example, I have an error such as: Then I hit [magic-keyboard-command] and I get: In Eclipse this is possible by pressing F2. Is there an equivalent in IntelliJ? 回答1: The standard for JetBrains tools is Ctrl + F1 ( Cmd +

How to navigate between instances of selected text in Sublime Text 3?

浪子不回头ぞ 提交于 2019-12-03 08:53:58
问题 Sublime Text 3 highlights all instances of currently selected text. Is there any shortcut to navigate cursor to the next / previous instance (copy) of selected text? So far, I've only managed to find out some information about adding more instances to current selection (expanding it) with Ctrl + D , skipping current instance ( Ctrl + K , Ctrl + D ) and deselecting it ( Ctrl + U ), which actually is a soft undo, not a real command. I can use Ctrl + D to go to next instance of selected text and

Visual Studio 2008 - jump to line number shortcut

99封情书 提交于 2019-12-03 08:31:52
问题 I can go to a specific line number by double clicking in the status bar in Visual Studio. Is there a keyboard shortcut that does the same thing? 回答1: Ctrl + G Check out all the keyboard shortcuts at: http://www.microsoft.com/downloads/details.aspx?familyid=e5f902a8-5bb5-4cc6-907e-472809749973&displaylang=en 回答2: Ctrl + G works for me. If it doesn't work for you, you can always map whatever shortcut you want under Tools | Options | Environment | Keyboard. EDIT: Yes, as @Brian mentions, the

How to mimic Visual Studio's CTRL-X, CTRL-V functionality in Notepad++?

落爺英雄遲暮 提交于 2019-12-03 08:24:09
问题 I'm using Notepad++ for some projects and miss Visual Studio's Ctrl + X , Ctrl + C functionality that cuts or copies the entire current line when no text is selected. The cut line shortcut seems to be Ctrl + L , which is not as convenient as Ctrl + X and the copy shortcut seems to be Ctrl + D , Ctrl + L , which is even less convenient. Although a similar question has been asked before, the way to do this in Notepad++ was not provided and I cannot find a solution on the Notepad++ site or on

macOS App: handling key combinations bound to global keyboard shortcuts

爷,独闯天下 提交于 2019-12-03 08:15:46
In some apps, it makes sense for the app to directly handle keyboard shortcuts which are otherwise bound to system wide combinations. For example, ⌘-Space (normally Spotlight) or ⌘-Tab (normally app switcher). This works in various Mac apps, such as VMWare Fusion, Apple's own Screen Sharing and Remote Desktop clients (forwarding the events to the VM or server, respectively, instead of handling them locally), and also some similar third-party apps in the App Store. We would like to implement such a mode in the app we're working on, but are having a hard time working out how to do it. I should

How do I edit all highlighted instances of a word simultaneously?

烈酒焚心 提交于 2019-12-03 08:14:47
问题 In Notepad++, whenever you select any word in an HTML document (or in your CSS), similar words are automatically highlighted. Is there a shortcut I can use to edit all of these highlighted segments at once? 回答1: Currently, the ability to select all similar text and edit (like the Ctrl+D functionality in Sublime, as mentioned by @George) is not built in to Notepad++ version 6.9.2. It does sound like it will work when Notepad++ updates the version of Scintilla it uses as the functionality is