Eclipse代碼模板

在Eclipse的代碼編輯器裏,單擊右鍵Surround With可以在選定代碼周圍生成模板代碼。 比如 for循環 try catch塊 同步塊 但是沒有try catch finally塊,可以自己添加一個代碼模板。 添加方法可以選擇Surround With->Configure Templates,點擊新建。   在Pattern裏面輸入代碼模板,在相應的位置可以點擊Insert Vari
相關文章
相關標籤/搜索