修改类头的文档注释

/**@author shkstart@create ${YEAR}-${MONTH}-${DAY} ${TIME}*/常用的预设的变量,这里直接贴出官网给的:${PACKAGE_NAME} - the name of the target package where the new class or interface will be created.${PROJECT_NAME} - the name of the current project.${FILE_NAME} - the name of the PHP file that will be created.${NAME} - the name of the new file which you specify in the New File dialog box during the file creation.${USER} - the login name of the current user.${DATE} - the current system date.${TIME} - the current system time.${YEAR} - the current year.${MONTH} - the current month.${DAY} - the current day of the month.${HOUR} - the current hour.${MINUTE} - the current minute.${PRODUCT_NAME} - the name of the IDE in which the file will be created.${MONTH_NAME_SHORT} - the first 3 letters of the month name. Example: Jan, Feb, etc.${MONTH_NAME_FULL} - full name of a month. Example: January, February, etc.
设置项目文件编码

说明:Transparent native-to-ascii conversion 主要用于转换 ascii,一般都要勾选,
不然 Properties 文件中的注释显示的都不会是中文。
设置当前源文件的编码


对单独文件的编码修改还可以点击右下角的编码设置区。如果代码内容中包含中
文,则会弹出如上的操作选择。其中:
①Reload 表示使用新编码重新加载,新编码不会保存到文件中,重新打开此文
件,旧编码是什么依旧还是什么。
②Convert 表示使用新编码进行转换,新编码会保存到文件中,重新打开此文件,
新编码是什么则是什么。
③含有中文的代码文件,Convert 之后可能会使中文变成乱码,所以在转换成请
做好备份,不然可能出现转换过程变成乱码,无法还原。
常用快捷键
1 执行(run) alt+r2 提示补全 (Class Name Completion)alt+/3 单行 注释 ctrl + /4 多行注释ctrl + shift + /5 向下复制一行 (Duplicate Lines)ctrl+alt+down6 删除一行或选中行 (delete line) ctrl+d7 向下移动行(move statement down)alt+down8 向上移动行(move statement up) alt+up9 向下开始新的一行(start new line) shift+enter10 向上开始新的一行 (Start New Line before current)ctrl+shift+enter11 如何查看源码 (class)ctrl + 选中指定的结构 或ctrl + shift + t12 万能解错/ 生成返回值变量alt + enter13 退回到前一个编辑的页面 (back) alt + left14 进入到下一个编辑的页面( 针对于上条) (forward) alt + right15 查看继承关系(type hierarchy)F416 格式化代码(reformat code)ctrl+shift+F17 提示方法参数类型(Parameter Info)ctrl+alt+/18 复制代码ctrl + c19 撤销ctrl + z20 反撤销ctrl + y21 剪切ctrl + x22 粘贴ctrl + v23 保存 ctrl + s24 全选ctrl + a25 选中数行,整体往后移动 tab26 选中数行,整体往前移动shift + tab27 查看类的结构:类似于 eclipse 的 的 outlinectrl+o28 重构 : 修改变量名与方法名(rename)alt+shift+r29 大写转小写/ 小写转大写(toggle case)ctrl+shift+yIntelliJ IDEA 的安装 、 配置 与使用30 生成构造 器/get/set/toString alt +shift + s31 查看文档说明(quick documentation)F232 收起所有的方法(collapse all) alt + shift + c33 打开所有方法(expand all) alt+shift+x34 打开代码所在硬盘文件夹(show in explorer)ctrl+shift+x35 生成 try-catch 等(surround with)alt+shift+z36 局部变量抽取为成员变量(introduce field)alt+shift+f37 查找/ 替换( 当前)ctrl+f38 查找( 全局)ctrl+h39 查找文件double Shift40 查看类的继承结构图(Show UML Diagram) ctrl + shift + u41 查看方法的多层重写结构(method hierarchy)ctrl+alt+h42添加到 收藏(add to favorites) ctrl+alt+f43抽取方法(Extract Method)alt+shift+m44 打开 最近 修改的文件(Recently Files)ctrl+E45 关闭当前打开的代码栏(close) ctrl + w46 关闭打开的所有代码栏(close all) ctrl + shift + w47 快速搜索类中的错误(next highlighted error)ctrl + shift + q48 选择要粘贴的内容(Show in Explorer)ctrl+shift+v49 查找方法在哪里被调用(Call Hierarchy)ctrl+shift+h
idea常用插件
TranslationChinese (Simplified)Language PackAtom Material IConsGitToolBoxGrep Consolecodota
