How to improve programmer efficiency keyboard

  For most programmers, perhaps longer when using the keyboard more than the mouse, so for how to use the keyboard to improve work efficiency is a very important issue in this article to improve the efficiency of the programmer's keyboard by the following aspects:

A: Programmer commonly used shortcut keys and command vi

Since the 1970s, Vi has been one of the best partners programmer, whether you are a novice or a veteran Vi, the following classification gives some useful Vi command:

Like java programmers, there are shortcuts frequently used these: Eclipse in some of the following and edit the shortcut keys

1. [ALT + /] This shortcut for users to edit a good helper, can provide content for user assistance, not to remember all the methods and attributes names to worry when, name not remember all class methods and properties, and more experience [ ALT + /] shortcut key benefits brought by it. 2. [Ctrl + O] displays an outline of the class methods and properties can quickly locate the class methods and properties, are very useful in finding Bug.

3. [Ctrl + /] to quickly add a comment, to row or to quickly add a comment or uncomment selected as a cursor, may always need something to comment or uncommented when debugging, now, do not need every line repeated comments.

4. [Ctrl + D] to delete the current line, which is one of the author's favorite, do not have to delete a row and press the delete key so many times.

5. [Ctrl + M] window is maximized and restore, when the user performs an operation in a window, the current window will always think small (especially when writing code), well now, try [Ctrl + M] shortcut. 

Usually a text editor provides some relevant and edit shortcuts, text can also be edited via these shortcuts in Eclipse. 

1. [Ctrl + C]: Copy.  

2. [Ctrl + X]: Cut.  

3. [Ctrl + V]: Paste.  

4. [Ctrl + S]: Save the file. 

5. [Ctrl + Z]: revoked.  

6. [Ctrl + Y]: repeat. 

7. [Ctrl + F]: Find. 

There are many shortcut keys, can not list them all, users can find help documentation they are used, in addition to several commonly used shortcut keys are as follows. 

1. [Ctrl + F6]: switch to the next editor. 

2. [Ctrl + Shift + F6]: switch to an editor. 

3. [Ctrl + F7]: switch to the next view. 

4. [Ctrl + Shift + F7]: switching to a view. 

5. [Ctrl + F8]: a perspective view of a switch to the next.  

6. [Ctrl + Shift + F8]: a perspective view of a switch to on. 

For c or c ++ programmers often use development tools is vs2013, here we put together some of the commonly used shortcuts vs2013, and also can improve the efficiency of typing

Ctrl + copy the current row is not selected when C Copy
Ctrl + V Paste
Ctrl + X Cut cleavable when the current line is not selected
Ctrl + Z Undo
Ctrl + D line copy

The upward migration key Alt +
Alt + Down Arrow line down

Shift + End = select an entire row to Z

Shift + Home = select an entire row from the tail to the head

Ctrl + Delete = delete all characters to the right of the cursor

Ctrl + Tab switching the active window
Ctrl + G jump to the line number or rows

Ctrl + F to quickly find    

Ctrl + H to quickly replace    

F12 = Go To Definition

debugging:

F5 to start debugging (breakpoint is encountered will enter debug state)

Shift + F5 to stop debugging    
Ctrl + F5 to start debugging do not
F10 single-step    
F11 Step Into    
Shift + F11 to jump out    
Ctrl + F10 run to cursor

Ctrl + Shift + F10 Set Next Statement    

F9 to set breakpoints and switch    
Ctrl + F9 disable breakpoints    
Ctrl + Shift + F9 Deletes all breakpoints

Two: Training programs programmers use the keyboard


1. The correct keystroke method:

 

 

 2. practice software: Jinshan typing through online typing test ( https://dazi.kukuw.com/ )

 

 

 本次测试是在后者中进行的,首先选择测试的类型,是中文打字还是英文打字,之后选择一篇想要打字的文章,设定好测试的时间即可,以下是本人的训练结果:

除此之外,这个打字网站还包括了速度测试、键位练习、打字排名、成绩查询等多个功能,相对来说是比较完善的 。在测试的结果中可以看出这次测试的平均速度和正确率,相信在这种强度的训练下,每天能够抽出一两个小时一个月就可以达到程序员打字的平均水平了。

3.好键盘很重要,它是我们的武器

像一般的程序员都会准备一个属于自己的机械键盘 (入门级就可以)

合适的键盘的布局:

\ 这个键 很诡异。它的位置一般在 Enter的左侧( 单引号 ' 的右侧), 或者在 backspace 的左侧,+的右侧,跟 [和]一样,是最难以摸正确的按键。

Enter是我们按的最多的,所以它的面积要大。

左右两个shift,以及 enter上方的 backspace,也都最好是大键。

F1,F2,...F12, 也都最好是可以一键按到的。

所以,这个是比较合适的布局:

 

 

 

如果经常使用 F1, F2 等键的话, 不建议购买 87键的小键盘。 例如下面这个:

 

 

四:总结

以上就是我对于如何提高程序员的键盘使用效率的一些看法和实践经验,一家之言总会有难免的疏漏,相对于程序员来说好的打字习惯以及适合自己的训练方法是对于工作或者学习来说是利大于弊的。

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/jinli199783/p/11532644.html