码迷,mamicode.com
首页 > 其他好文 > 详细

idea更改新建文件模板和注释

时间:2016-05-13 04:32:17      阅读:316      评论:0      收藏:0      [点我收藏+]

标签:

自定义注释

效果如图所示:

技术分享

开始制作:

  • 打开设置

技术分享

或者点击file–setting

  • 然后我们搜索file 找到file and code templates选项,如下图所示:

技术分享

  • 点击html file(默认选择)然后点击uncludes标签,把file header设置成你想要的模式

更改模板

在servlet中要用到get和post方法,但是一般只要get所以我们改下模板,效果如下图:

技术分享

  • 同样我们要打开file and code templates
  • 找到other按钮
  • 找到web选项,打开servlet,如下图所示:

技术分享

  • 我改成在post方法中调用get,并且调换顺序

bb几句:5月的羊城挺舒适的(当然要有空调了)

idea更改新建文件模板和注释

标签:

原文地址:http://blog.csdn.net/simaxiaochen/article/details/51338346

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!