Сенсорный ввод в Visual Studio [закрытый] 2008

Вы можете сделать это с помощью следующего кода.

db.users.findOne({"username" : {$regex : ".*son.*"}});
5
задан Developer 24 June 2009 в 18:55
поделиться

3 ответа

Я пользователь vim и наборщик текста, но так и не привык к hjkl . Для меня нормально использовать клавиши со стрелками, но я должен признать, что восхищаюсь своими коллегами. кто овладевает этим навыком.

Единственное, что действительно раздражает, это то, что Home , End и т. д. не находятся в одном и том же месте на разных клавиатурах, что меня действительно вдохновляет орехи.

2
ответ дан 14 December 2019 в 13:45
поделиться

Я согласен, мне было очень больно перемещать пальцы от основной клавиатуры к клавишам со стрелками.

Что сработало для меня, так это использование режима Emacs. Вы упомянули, что не хотите использовать режим viemu, но режим Emacs встроен в VS2008, поэтому вы можете довольно легко использовать его на других машинах.

Если вы перейдете в Инструменты-> Клавиатура и в разделе «Применить следующее» дополнительная схема сопоставления клавиатуры "вы переключаете раскрывающийся список на Emacs, вы можете использовать этот режим. По моему опыту, клавиши довольно хорошо соответствуют командам Emacs, и вы можете изучить команды из многочисленных учебных пособий в Интернете.

1
ответ дан 14 December 2019 в 13:45
поделиться

I have learned to use my little finger (aka the pinky) to stretch to the cursor keys, anchoring the remainder of my hand on the Return/Enter key. This approach seems to work for me when using both the cursor keys and the Page Up/Page Down keys. However, I usually use the Ctrl+F3 shortcut and search for actual keywords and such, which enables me to avoid leaving the home row as I can stretch to that (Ctrl+F can be substituted in Visual Studio for a different type of find but equally effective for code navigation, and Ctrl+G to go to specific line numbers).

As an aside I feel speed is only useful after correctness and I'm not convinced that the time saved by not having to move from the home row to the cursor keys and back without looking at the keyboard is really that important when compared with getting the actual code written correctly. I've had several team mates over the years who appear to have favoured speed over quality and to me, that's bad - optimizing ones typing before one has actually learned to code things correctly seems like a waste of effort (of course, it's likely that they think I was slow and ineffective by contrast).

Of course, I totally understand the need to work quickly when one is a developer of quality, and efficient use of tools is a good thing.

1
ответ дан 14 December 2019 в 13:45
поделиться
Другие вопросы по тегам:

Похожие вопросы: