工具-idea从小白开始

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_38331606/article/details/90451771

1.安装以及破解

  官方下载网址: https://www.jetbrains.com/idea/download/#section=windows

  下载地址以及注册破解文件下载地址:

  

2.全局配置与当前配置

      打开默认配置:顶部导航栏 -> File -> Other Settings -> Default Settings /ProjectStructs 

      打开当前配置:顶部导航栏 -> File -> Settings / ProjectStructs

3.全局jdk配置

  File ->Other Settins -> Structure for new Project-> Project

4.git全局版本控制

  File ->Other Settings -> Default Settings -> Version Control ->git

  File ->Other Settings -> Default Settings -> Version Control ->github

5.全局maven配置

    File ->Other Settings

6.关闭idea自动更新

   File->Settings->Appearance & Behavior->System Settings->Updates下取消Automatically check updates for

7.隐藏Intellij IDEA自动生成的配置文件

    File->Settings->Editor->File Types下的”Ignore files and folders”一栏添加 *.idea;*.iml; *.git;

8.字体大小设置

File -> Setting -> Editor -> Font

9.代码检查级别

10.文件编码

    File->Settings->Editor->File Encodings

11.注释格式化,代码格式化

12.代码格式化

    快捷键为Ctrl+Alt+L,如果此时光标在类里边,则会对当前类进行代码格式化;

     如果光标是在文件夹上边的话,则会弹出提示框

13.全局包的自动导入以及删除

14.单工程的导包和优化

在Intellij IDEA一次只能导入单个包,没有像Eclipse快速导入包的快捷键Ctrl+Shift+O,但是Intellij IDEA下有个自动导入包的功能。在File->Settings->Editor->General->Auto Import下进行配置

15.tomcat配置

   idea没有tomcat插件时需添加tomcat

16.项目自动编译

17.设置快捷键和eclipse相同

猜你喜欢

转载自blog.csdn.net/qq_38331606/article/details/90451771
今日推荐