How to minimize use of arrow keys when typing code?

后端 未结 11 1213
灰色年华
灰色年华 2021-02-05 10:23

When typing code, I would normally close brackets, go back inside, go outside, type semicolon, etc:

I might start with (| is the caret):

System.out.print         


        
11条回答
  •  醉话见心
    2021-02-05 10:58

    A good IDE (galileo is almost here) will auto close brackets, parentheses, etc, and will intelligently insert a semicolon at the end of the statement too. No need to use arrows at all!

    Of course for a println in Eclipse you can just type sysout but that's probably a bad habit to get into.

    But be careful! If you get too quick your colleagues will always make you drive :P

提交回复
热议问题