简体   繁体   中英

How do I change '// TODO Auto-generated method stub' to something else in Eclipse?

如果可能的话,如何将// TODO自动生成的方法存根更改为Eclipse中的其他内容?

窗口 - 首选项 - Java - 代码样式 - 代码模板 - 代码 - 方法主体 - EDIT

另请参阅自动生成存根方法,这些方法引入了eclipse,以获得更具体的点,即更改它以引发新的UnsupportedOperationException。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM