标签:following template lan exist win 自动 ica shift key
Window -> Preferences -> Java -> Code Style -> Code templates -> (in right-hand pane) Comments -> double-click Types
and make sure it has the following, which it should have by default:
/**
* @author ${user}
* ${date} ${time}
*/
then hit the key combo Shift + Alt + J and that will insert a new javadoc comment above, along with the author tag for your user.
ref: http://stackoverflow.com/questions/7958530/adding-author-name-in-eclipse-automatically-to-existing-files
标签:following template lan exist win 自动 ica shift key
原文地址:http://www.cnblogs.com/pinganzi/p/6696573.html