keyboard-shortcuts

How can I maximize the editor pane?

前提是你 提交于 2019-12-04 07:27:12
问题 In Eclipse, I can type Ctrl + M or click the maximize icon in the editor pane to make the editor pane take up the entire Eclipse window, and then again to restore the pane back to its previous size exposing the other panes. Is it possible to perform the equivalent in IntelliJ IDEA? To clarify, I'm asking about hiding all other tool panes to show only the editor pane. I'm not asking how to go to distraction-free mode, because this is mode is completely "full screen," hiding all toolbars,

Is there a standard keyboard shortcut to build the current project in Visual Studio?

删除回忆录丶 提交于 2019-12-04 07:23:20
问题 I know that Ctrl + Shift + B launches a solution build, but I would like a shortcut that just builds the current project. Is a custom shortcut my only option? Edit: Looks like a custom shortcut is my only option as Shift + F6 does not work for me. 回答1: Assigning the shortcut to "Build.BuildOnlyProject" command doesn't seem to work in VS2008. Assign the shortcut to " Build.BuildSelection ". If you have a solution with several projects and files open from the various projects, whatever file you

Navigating through code with keyboard shortcuts [closed]

丶灬走出姿态 提交于 2019-12-04 07:23:19
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago . I'm starting to feel the need to run fastly through code with keyboard shortcuts, to arrive faster where I want to make any changes (avoiding use of mouse or long times holding ↑ , ← , → and ↓ ). I'm already using some: Home - first position in current line End - last position in

Is there a [Go to file…] in Xcode?

不想你离开。 提交于 2019-12-04 07:20:59
问题 In every modern day IDE and text editor, there is an action to open a file without putting your hand on the mouse. For example: Eclipse: Cmd | Ctrl + Shift + R -> Open Resource IntelliJ: Cmd | Ctrl + Shift + N -> Open File TextMate: Cmd + T -> Go to File In Xcode, I have found no such options. Please, please tell me I just overlooked it in my growing frustration. Is there a "Go to file" or "Open File" shortcut in Xcode? 回答1: Since Xcode 4 (including 5, 6, 7, 8, 9, 10 and 11) it's ⌘ + ⇧ + O

How to use sidebar with the keyboard in Sublime Text 2 and 3?

…衆ロ難τιáo~ 提交于 2019-12-04 07:20:51
问题 When using Sublime Text 2 we tend to open the side bar to navigate thru files/folders in our projects. For that we can use the hotkey ctrl+k ctrl+b (in windows). However, once we're in the side bar , we can't use it with keyboard (arrows for instance). We have to stick using it with our own mouse... Just a note : I installed SideBarEnhancements plugin, but I didn't find anything that could solve my problem. Any solution you might know? 回答1: You can type Ctrl + 0 ( Ctrl + Zero ) to focus on

Repeating a navigation command in vi

孤街浪徒 提交于 2019-12-04 06:15:12
How do I repeat a navigation command in vi? For example, I execute the command 20j which moves the cursor down 20 lines, and I tried hitting . to repeat that command, but it says "No command to repeat". P.S. Also, what command goes to the next page in a document? There isn't a shortcut to repeat the last navigation command - you have to retype it, or set up some sort of shortcut of your own ( :map or similar). Page up (back) is Control-B ; page down (forward) is Control-F . Half-pages are Control-U (up) and Control-D (down). 来源: https://stackoverflow.com/questions/3671019/repeating-a

How can I detect the operating system using GWT?

自闭症网瘾萝莉.ら 提交于 2019-12-04 05:39:08
Basically what I want to know is to find out if my GWT application is running on a MacOS or any other operating system, to setup the shortcuts properly using cmd on a MacOS and ctrl everywhere else. You can use: import com.google.gwt.user.client.Window.Navigator; ... String platform = Navigator.getPlatform(); This returns a String (the same as JavaScript's navigator.platform ). You can then decide on the OS similar to this script : It simply checks for the substring "Win"/"Mac"/"iPhone"/"Linux". 来源: https://stackoverflow.com/questions/4372443/how-can-i-detect-the-operating-system-using-gwt

Eclipse launch shortcuts for debug history

强颜欢笑 提交于 2019-12-04 04:47:30
The Run > Debug History menu item in Eclipse (Helios) contains a MRU list of debug history. These items are numbered from 1 to N suggesting that there is probably some keyboard shortcut or keyboard sequence I should be able to enter to relaunch a previous program but I cannot figure out what they might be. Specifically, if I want to relaunch the debug history item number 2, what must I type to use this feature? I know that there is the Window > Preference > General > Key settings page which lists the "Debug Android Application binding "Alt+Shift_A, D". This seems like exactly what I want but I

Rebind C-space in Emacs

混江龙づ霸主 提交于 2019-12-04 04:42:44
I've tried various version to no avail: (global-set-key (kbd "C-<space>") 'tempo-complete-tag) (global-set-key [C-space] 'tempo-complete-tag) I'm using CUA mode and running Emacs on Ubuntu, version: GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) of 2009-09-27 on crested, modified by Debian When I run tempo-complete-tag manually it tells me it is bound to C-space but C-space still runs cua-set-mark (or if CUA is disable, set-mark-command ). How can I rebind the C-space shortcut in Emacs to a command I decide? C-h k (key) will tell you how Emacs refers to a given key (which is "C

How to read or capture Ctrl+some key or Alt+some key in C?

寵の児 提交于 2019-12-04 04:37:31
问题 For example I want to do some thing when some combination of Ctrl key with any other key is pressed (or it may be Alt key).Then from the standard input how to read that key combination in C program as an input. I tried with simple getchar() to know the ASCII values of these combinations. But it was some 1 to 25 and some other values for some key combinations. Is there any standard library function to read them. Dont ask me why do you want to do that. Edit : My platform is Turbo C on Windows.