一. 准备工作

  1. 点击此下载 IntelliJ IDEA 开发工具

二. 注册

  1. 修改  C:\Windows\System32\drivers\etc\hosts ,在末尾添加  0.0.0.0 account.jetbrains.com

  2. 点击此获得注册码,进行注册

三. 整合Maven

  1. Maven配置文件 settings.xml

<localRepository>D:/Documents/.m2/repository</localRepository>

<server>
<id>releases</id>
<username>admin</username>
<password>admin123</password>
</server>
<server>
<id>snapshots</id>
<username>admin</username>
<password>admin123</password>
</server>
<server>
<id>thirdparty</id>
<username>admin</username>
<password>admin123</password>
</server> <profile>
<id>nexus</id> <repositories>
<repository>
<id>release</id>
<name>Nexus Rlease Repository</name>
<url>http://localhost:8081/repository/maven-releases/</url>
</repository> <repository>
<id>snapshots</id>
<name>Nexus Snapshots Repository</name>
<url>http://localhost:8081/repository/maven-snapshots/</url>
</repository> <repository>
<id>thirdparty</id>
<name>Nexus 3rd Party Repository</name>
<url>http://localhost:8081/repository/maven-thirdparty/</url>
</repository> <repository>
<id>central</id>
<name>Nexus Central Repository</name>
<url>http://localhost:8081/repository/maven-central/</url>
</repository> </repositories>
</profile>
<!-- 可对maven中的项目进行代码质量管理
<profile>
<id>sonar</id> <activation>
<activeByDefault>true</activeByDefault>
</activation> <properties>
<sonar.jdbc.url>jdbc:oracle:thin:@127.0.0.1:1521/orcl</sonar.jdbc.url>
<sonar.jdbc.driver>oracle.jdbc.driver.OracleDriver</sonar.jdbc.driver>
<sonar.jdbc.username>admin</sonar.jdbc.username>
<sonar.jdbc.password>admin</sonar.jdbc.password>
<sonar.host.url>http://127.0.0.1:9000/</sonar.host.url>
</properties> </profile>
--> <activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>

settings.xml

  2. IDEA配置Maven

1. 打开 File-Settings,选择 Build,Execution,... - Build Tools - Maven
2. 设置 Maven安装位置(Maven home directory)

  3. 在 New Module 弹出框中,添加Maven属性 archetypeCatelog = internal 可加快工程创建

  

四. 常用快捷键

Ctrl+Click                快速打开光标处的类或方法(跳转到定义处)
Ctrl+N 查找类
Ctrl+Shift+Alt+N 查找类中的方法或变量
Ctrl+Shift+F 在全局文件中查找字符串
Ctrl+Shift+R 通过名称打开文件
Double Shift 在项目的所有目录查找文件  
Alt+Insert 可以生成构造器/Getter/Setter等
Alt+Enter 光标处,提供快速修复选择(光标位置不同,提供结果也会不一样)
ctrl + Alt + ← 回退到上一个操作的地方
ctrl + Alt + → 前进到下一个操作的地方

IntelliJ IDEA 使用经验总结的更多相关文章

  1. IntelliJ IDEA 下的版本控制介绍

    不管是个人开发或是团队开发,版本控制都是可以很好地被使用的,目前我找不到任何开发者不使用版本控制的理由.而且对于 IDE 来讲,集成版本控制的本身就是它最大的亮点之一,很多开发者也是为此而使用它. 在 ...

  2. intellij idea 13&14 插件推荐及快速上手建议

    IntelliJIDEA插件安装 首页 > blog Tags : intellij IDEA插件安装 更新日期: 2015-04-29 IntelliJ IDEA插件下载地址: http:// ...

  3. 用IntelliJ IDEA创建Gradle项目简单入门

    Gradle和Maven一样,是Java用得最多的构建工具之一,在Maven之前,解决jar包引用的问题真是令人抓狂,有了Maven后日子就好过起来了,而现在又有了Gradle,Maven有的功能它都 ...

  4. [转载]从MyEclipse到IntelliJ IDEA-让你摆脱鼠标,全键盘操作

    从MyEclipse转战到IntelliJ IDEA的经历 注转载址:http://blog.csdn.net/luoweifu/article/details/13985835 我一个朋友写了一篇“ ...

  5. [收藏]IntelliJ Idea快捷键

    Alt+回车 导入包,自动修正 Ctrl+N 查找类 Ctrl+Shift+N 查找文件 Ctrl+Alt+L 格式化代码 Ctrl+Alt+O 优化导入的类和包 Alt+Insert 生成代码(如g ...

  6. IntelliJ IDEA 内存优化最佳实践

    本文作者在和同事的一次讨论中发现,对 IntelliJ IDEA 内存采用不同的设置方案,会对 IDE 的速度和响应能力产生不同的影响. Don't be a Scrooge and give you ...

  7. Intellij Idea 15 下新建 Hibernate 项目以及如何添加配置

    1.说明:Idea 下,项目对应于 Eclipse 下的 workspace,Module 对应于 Eclipse 下的项目.Idea 下,新添加的项目既可以单独作为一个 Project,也可以作为一 ...

  8. 成吨提高开发效率:Intellij Shortcuts精简子集与思维模式

    在线精简cheatsheet备查表:intellij.linesh.twGithub项目:intellij-mac-frequent-keymap Intellij的快捷键多而繁杂,从官方推荐的key ...

  9. intellij idea 15 修改基础配置加载路径

    一.概述 intellij idea 15 默认配置的启动加载路径是"C:\Users\Administrator.IntelliJIdea15",这样会导致占用C盘的空间越来越多 ...

随机推荐

  1. *p++与(*p)++与*(p++)------自增运算符常见误区

    自增运算符(++) 自增\自减运算符分为前缀形(++a)和后缀形(a++),这里重点分析自增 大部分人对前缀和后缀的理解一般是,前缀形式是先++再使用(先变后用),后缀形式是先使用再++(先用后变) ...

  2. python3模块: sys

    一.简介 sys模块用于提供对python解释器的相关操作. 二.常用函数 sys.argv 命令行参数List,第一个元素是程序本身路径 sys.modules 返回系统导入的模块字段,key是模块 ...

  3. 【bzoj2422】 Times 前缀和

    本来想练一下树状数组的,看到网上某人的blog后点了进来. 第一眼发现不会,出去上了个厕所发现离散化后不是一道简单前缀和题吗. 考虑到每一个人出现且仅出现一次,且出现的时间是在一个连续的区间内. 那么 ...

  4. SQL实现数据行列转换

    前言: 在日常的工作中,使用数据库查看数据是很经常的事,数据库的数据非常多,如果此时的数据设计是一行行的设计话,就会有多行同一个用户的数据,查看起来比较费劲,如果数据较多时,不方便查看,为了更加方便工 ...

  5. Anaconda 入门详解

    Anaconda Anaconda简介 Anaconda是一个免费开源的Python和R语言的发行版本,用于计算科学(数据科学.机器学习.大数据处理和预测分析),Anaconda致力于简化包管理和部署 ...

  6. Python 1行代码实现文本分类(实战笔记),含代码详细说明及运行结果

    Python 1行代码实现文本分类(实战笔记),含代码详细说明及运行结果 一.详细说明及代码 tc.py =============================================== ...

  7. Java之集合(二)ArrayDeque

    转载请注明源出处:http://www.cnblogs.com/lighten/p/7283928.html 1.前言 上章讲解了Java中的集合接口和相关实现抽象类,本章开始介绍一些具体的实现类,第 ...

  8. python的字符串内建函数(方法)

    原本总结一下,后来发现这个里面讲的很全,可以点进去参考:http://www.runoob.com/python/python-strings.html

  9. VUE输入框显示时自动聚焦

    directives: { focus: { inserted: function (el, {value}) { if (value) { el.focus() } } } } 注意点:1.用v-i ...

  10. 【树】Construct Binary Tree from Inorder and Postorder Traversal

    题目: Given inorder and postorder traversal of a tree, construct the binary tree. 思路: 后序序列的最后一个元素就是树根, ...