2015-02-05 135 views

回答

3

在Eclipse

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 
+0

不是解決辦法,我期望的類型,但它需要工作! Windows操作系統是否支持這種快捷方式? – 2015-02-05 16:08:33

+0

此功能由eclipse提供。不管你使用什麼操作系統。我在Windows上的日食測試和它的作品 – usha 2015-02-05 16:12:11

+1

我知道,我的意思是問有沒有支持窗口的快捷方式類型,也許我想用它在記事本上?就像ctrl + v等。 – 2015-02-05 16:31:01

相關問題