2019-02-11

2019-02-11  本文已影响0人  WithMeStudy

Key

ctrl+ alt + t 生成代码块
alt + insert 生成常用方法 get set constructor toString等

Ctrl + B 进入定义
ctrl+D 向下复制当前行
ctrl+F 当前文件中文本查找
ctrl + H查看类的继承结构
Ctrl+N 用类名定位文件
ctrl +o 快速重写父类方法
x 不需要选中剪切当前行
Y 删除当前行
w 递进选择代码块
F12 查看文件结构,方法和属性大纲
ctrl+space 自动提示,需要自己修改,与输入法冲突

alt+enter 根据光标所在问题,自动修复问题
生成方法返回值
生成异常代码块

ctrl+atl+L 格式化代码
O 自动导包(如果未设置)
-》 前进
《- 后退到上个位置

ctrl shift + 折叠和展开代码
ctrl shirt _
ctrl shirt / 代码块注释

导入jar包

  1. 右击项目 新建 目录 命名一般为lib 将jar包复制进来
  2. 文件 项目结构 libiraries 绿色+ java 选择jar包 OK 放到相应项目中

导出jar包

  1. 文件 项目结构 artifact 绿色+ 非空 ... 主类
  2. bbuild

配置tomcat

image.png
image.png image.png

创建web项目

new -》 java enterprise


image.png
上一篇下一篇

猜你喜欢

热点阅读