Faster way to enter lambda character

it sounds a little silly and petty, and, ironically, I'm sure that by typing this SO question, I actually lost more time than I could get :)

but something I’m just wondering if other visual studios have decided this scenario

when writing a large number of lambda functions (especially when performing a free configuration) it just seems to be inefficient to write a lambda, the equal sign is on the top line of the keyboard number, and the sign is larger than the sign, it moves down the space, and for this you need to use a shift in apparent time.

just feels bulky

just wondering if anyone knows how to create a macro or shortcut. I would rather double-press a key or something like that. this will allow you to print much faster

(note: I am using VS 2010 and 2012)

+6
source share
2 answers

There are several options A. Can use autohotey to send a key when you press another hotkey or registry refactor

http://www.autohotkey.com/docs/misc/Remap.htm This is one to one re card

B. use the automatic hotkey to send the key when you press Windows + Other Key like M to send the key you want http://www.autohotkey.com/docs/Hotstrings.htm

C. write a low-level keyboard hook (I know this is possible, but I don’t know, and don’t try installing the device driver)

+1
source

One solution is to use AutoHotKey to customize your own combination of keys or characters.

Check the documentation to find what you like, but here is the basic formula. This will be => on Windows + Combo. (since> is uppercase.)

#.:: SendInput {=}{>} return 

or

 #.:: SendInput {Space}{=}{>}{Space} return 

if you want it to fit automatically before and after lambda

0
source

Source: https://habr.com/ru/post/944191/


All Articles