keyboard-shortcuts

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

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 gr...

Eclipse jump to Editor tab shortcut

Hi, 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, ...

PowerShell script to restart a service

My mission is to press a keyboard sequence, such as Ctrl +Shift +R, to restart a Windows Service. I have a script which works fine in the PowerShell ISE, when launched with administrative privileges. When I try with a PowerShell script it fails due to insufficient Administrative Privileges. It’s galling that I can get it to work with ...

Assign hotkeys to windows (and remember size & location). AHK

Hi, I have found the following script for dynamically assigning hotkeys to already open windows: Code (Expand): Loop 10 { i := A_Index - 1 HotKey #^%i%,DynHotkey HotKey #%i%, DynHotkey HotKey #!%i%,DynHotkey } Exit DynHotkey: StringRight i, A_ThisHotKey, 1 StringMid what,A_ThisHotKey, 2, 1 var := var%i% IfEqual...

Productivity features in VS, how to display documentation

I used to program quite a lot in Java, recently I've began to work with C#. I think that most of advantages of C# (comparing to Java) are corrupted by VS. Now what really makes me crazy is intelisence. It offers only list of classes of that are already in "using". I would like to see suggestions of all classes from all libraries. Then,...

is it possible in javascript to create shortcuts with sequence like 123,345 instead of combo?

I already used some script to implement the shortcuts in my web page but i was wondering if could be possible to associate some combination not syncronic like Ctrl+X but more like a sequence typing 1..2..3 or any other combination to execute a script... lets assume this example: you have a long list with numbers: you could type 3..5....

I have a BrowserHelperObject(BHO) in c++ and i need to block some keyboard controls (Ctrl-o) in a i-frame.

I need to know of a way to prevent the user to 'open a new url' (with Ctrl-o) as soon as he has the focus on my sidebar (right-sided iframe). In fact, my sidebar offers some controls and the user should not be able to 'navigate' to other website through the sidebar. I'm using a bho in C++ using ATL(active template library), but maybe if ...

How to I remap the Emacs command M-d into the macro M-b, M-d?

I would like the "delete to end of word" command to delete the word, regardless of cursor position. ...

How can I tweak this elisp function to distinguish between C-d & DEL?

Here's my current function (blindly copy-pasted from a website) (defun tweakemacs-delete-one-line () "Delete current line." (interactive) (beginning-of-line) (kill-line) (kill-line)) (global-set-key (kbd "C-d") 'tweakemacs-delete-one-line) There are two quirks here that I want to get rid of. 1) This actually rebinds DEL to t...

Firefox add-on development: Register global dynamic custom keyboard shortcuts

I have been tasked with developing a Firefox add-on that is capable of registering global keyboard shortcuts (ones that will work throughout all areas of Firefox) that will open up the side-bar and execute an XMLRPC request based on previously recorded input. The idea here is that there will be many potential XMLRPC requests that the use...

CodeRush not working ?

I was using Resharper and I wanted to try CodeRush so I suspended Resharper and installed CodeRush Xpress. When I installed CodeRush version 2010.1.4 (from this downlad page) the shortcuts did not work. I tried F2 and other shortcuts that schold work but they did not. However I was able to invoke some CodeRush functions by clicking rig...

Format Document (Ctrl+K,Ctrl+D) equivalent in Visual Basic 6

Is there any equivalent of the VS7/8/9/10 Edit -> Advanced -> Format Document (Ctrl+K,Ctrl+D) function in the Visual Basic 6 IDE? I've inherited an old codebase and it is messy in places so I'd like to tidy it up. ...

Why might my Emacs use spaces instead of tabs?

I am trying to diagnose this problem. TAB creates 4 spaces instead of a 4 col TAB like I want. But I don't think it should because C-h v indent-tabs-mode on the buffer in question says it is set to t. When I check my keybindings, TAB is set to c-indent-line-or-region. Does this function ignore my tabs-mode? ...

Tool to view/plan keyboard shortcuts?

I'm curious if there are any tools available* that will help me generate visuals of keyboard shortcuts for the application I'm working on? Being able to see on a picture of a keyboard what combinations are in use, the relationships between normal, ctrl, shift, and alt combinations, and especially what combinations are NOT in use, would ...

getting emacs to move cursor by words on a Mac

It's supposed to be M + cursor, but any shortcut in emacs using M (escape) on my mac sucks, because every time i need to use it, i need to release M (the escape key) and then press it again. Is there a better shortcut for moving along words in emacs (kind of like ctr + arrow in windows?) ...

Hotkeys in webapps

When creating webapps, is there any guidelines on which keys you can use for your own hotkeys without overriding too many of the browsers default hotkeys. For example i might want to have a custom copy command for copying entire sets of data that only makes sense for my program instead of just text. The logical combination for this woul...

VS2008 View designer / View code shortcut

Is there any VS2008 shortcut for switching between View designer / View code? I am working on c# projects and I switch these two views a lot. ...

Is it possible to navigate to the end of the current scope in some Objective-C using the keyboard and XCode?

In Textmate and even under Visual Studio, it's possible to use a keyboard shortcut to navigate to the end of the current scope. And for bonus points, in some editors there is a special combo to navigate to the next method in a source file. I've taken a look at the keybindings section and can't seem to find anything relevant. Can I i...

Matlab editor not using emacs shortcuts

Hi Is there some way I can make the matlab integrated editor not use emacs shortcut, but use more normal shortcuts such that I can press CTRL-c and CTRL-v and not be completely confused by the editor doing weird stuff? I'm using matlab on linux btw. ...

Visual Studio keyboard short-cut to complete default accessors {get; set;}

I am looking for a keyboard short-cut to complete creating the default accessors for a property in a C# class. Something like... I start typing: public int Id Then I press one or more keys, and I endup with: public int Id { get; set; } ...