hom*_*rrr 3 eclipse keyboard-shortcuts
无数次我需要在编程期间在文本周围加上引号.我记得有一段时间以前我见过有人选择文字,只是用键盘快捷键做魔术并在其周围加上引号.怎么办?
在日食中
1. Window -> Preferences -> Java -> Editor -> Templates
2. Click on "New"
3. Type "quote" for name (you can name it whatever you want)
4. In the pattern box, enter "${word_selection}"${cursor}
5. Click ok
6. Click apply and close preferences
7. Select the string you want quoted, press CTRL + <space> and type quote
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4022 次 |
| 最近记录: |