IDEA 快捷键 讲解 02

 

  •  main=psvm  快速打出public static void main(String[] args){};
  • sout  快速打出输出语句 System.out.println(); 或者 “要输入的内容”.sout
  • ctrl+alt+l  格式化代码
  • alt+shift+↓ 当前行代码向下移动   alt+shift+↑ 当前行代码向上移动  

 

  •   修改类名称 右键点击文件  ----refactor-----rename
  •   修改module名称  右键点击module  ----refactor-----rename--------rename module and directory(同时修改name和路径)
  •   移除模块 右键module------remove module(只是把IDEA工作目录中移除  实际没删掉  要删除则需进盘 手动删除)
  •   导入模块  file ----new -----module from existing source----找对路径 进入project中 找到 黑点图标
  •   

     

    •   打开工程目录:

      •   File---open----找到对应总文件夹 (有黑色图标)

  •  

 

posted @ 2022-06-19 00:38  还有什么值得拥有  阅读(45)  评论(0编辑  收藏  举报