IntelliJ IDEA 使用教程,2017破解版

2017破解版:  2017.3以上的版本,直接移步到:[更新] IntelliJ IDEA 2017.3.1 注册码 (破解)(亲测可用), 2017.3以下的版本,看文章下方。

 

介绍

本系列教程介绍

本系列教程从 IntelliJ IDEA 的安装、卸载、软件设置、项目配置等各个方面进行讲解。通过本系列教程的学习,也希望你能爱上 IntelliJ IDEA,爱上它的体贴。同时学完本系列教程对于你学习 JetBrains 公司下的其他产品也有好处,其他产品包括:

  • PhpStorm 主要用于开发 PHP
  • RubyMine 主要用于开发 Ruby
  • PyCharm 主要用于开发 Python
  • AppCode 主要用于开发 Objective-C / Swift
  • CLion 主要用于开发 C / C++
  • WebStorm 主要用于开发 JavaScript、HTML5、CSS3 等前端技术
  • 0xDBE 主要用于开发 SQL
  • Android Studio 主要用于开发 Android(Google 基于 IntelliJ IDEA 社区版进行迭代所以也姑且算上)

IntelliJ IDEA 介绍

IntelliJ IDEA 在 2015 年 06 月官网主页是这样介绍自己的:

Excel at enterprise, mobile and web development with Java, Scala and Groovy, with all the latest modern technologies and frameworks available out of the box.

简明翻译:IntelliJ IDEA 主要用于支持 Java、Scala、Groovy 等语言的开发工具,同时具备支持目前主流的技术和框架,擅长于企业应用、移动应用和 Web 应用的开发。

IntelliJ IDEA 对自己的定义是很清晰的,对于新人来讲可能还不太理解,可能还会有误会,认为它博而不精,但是对于老用户来讲应该是非常认可上面这句话的。通过下面功能表格,新人对于 IntelliJ IDEA 所具备的功能会有一个新的认识。

如果用一句话来形容 IntelliJ IDEA,我会说:IntelliJ IDEA 是目前所有 IDE 中最具备沉浸式的 IDE,没有之一

IntelliJ IDEA 主要功能介绍

  • 语言支持上:
安装插件后支持 SQL类 基本JVM
PHP PostgreSQL Java
Python MySQL Groovy
Ruby Oracle
Scala SQL Server
Kotlin
Clojure
  • 其他支持:
支持的框架 额外支持的语言代码提示 支持的容器
Spring MVC HTML5 Tomcat
GWT CSS3 TomEE
Vaadin SASS WebLogic
Play LESS JBoss
Grails JavaScript Jetty
Web Services CoffeeScript WebSphere
JSF Node.js
Struts ActionScript
Hibernate
Flex

上面特性只是 IntelliJ IDEA 的冰山一角,而且这个还不是 IntelliJ IDEA 最重要的地方,IntelliJ IDEA 最重要的特性就是人性化、智能,后面学习你会慢慢接触到。

更多官网信息

IntelliJ IDEA Mac快捷键

从Eclipse换成IntelliJ IDEA,记录常用的快捷键。

快捷键 说明
^+space 代码提示
Shift+Command+回车 代码提示后的操作,Choose Lookup Item and Invoke Complete Statement
^+. 代码提示后的操作,Choose Lookup Item Dot
^+Shift+数字 Toggle bookmark 0-9,然后再按^+数字可以返回此处
Command + [ or ] 将光标移到代码块的“{”或者“}”处。
Command + Shift + [ or ] 将光标移到代码块的“{”或者“}”处,同时完成选择操作。
Command+Y 删除当前行
Option+Delete 往前删除一个单词
Command+D 复制一行或者代码块
^+Shift+J 合并行
Command+左右箭头 光标移到行首或行尾,加上shift键可以选择
Command+上下箭头 屏幕上移一行或下移一行。
Command+Shift+上下箭头 将当前行上移或下移,交换位置
Option++左右箭头 光标左右移动,每次一个单词,加上shift键可以选择
Command+W 选中当前单词
菜单快捷键 说明
^+N ^+Return 生成Getter/Setter等代码
Command+, preferences
Command+; Project structure
Command+S Save all
Option+Command+Y Synchronize
Command+Q Exit
Shift+Command+Z Redo
Command+F Find…
Command+R Replace…
F3 Find next
Shift+F3 Find Previous
Command+F3 查找当前单词
Control+Command+G Select All Occurrences
Control+G Select Next Occurrence
Control+Shift+G Unselect Occurrence
Control+Shift+F Find in Path
Control+Shift+R Replace in Path
Shift+Command+S Search Structurally
Option+F7 Find Usages
Command+F7 Find Usages in File
Command+1 Tool Windows – Project
Command+2 Tool Windows – Favorites
Command+3 Tool Windows – Find
Command+4 Tool Windows – Run
Command+5 Tool Windows – Debug
Command+6 Tool Windows – TODO
Command+7 Tool Windows – Structure
Option+F12 Terminal
Shift+Command+I Quick Definition. 快速显示光标所在方法名的定义/实现
Control+J 显示光标所在方法名的文档
Command+F1 显示光标所在代码的错误信息
F4 从当前方法名跳转到代码
Command+E 最近的文件
Command+Shift+E 最近修改的文件
Control+Command+F Toggle Full Screen
Navigate快捷键 说明
Command+N 打开Class
Command+Shift+N 打开文件
Option+Shift+Command+N Symbol…
Option+Command+左箭头 Back
Option+Command+右箭头 Forward
Shift+Command+Backspace Last Edit Location
Option+F1 Select In…
Command+B 跳转到方法声明
Option+Command+B 跳转到方法实现
Shift+Command+T Test
Command+F12 显示当前文件的结构(方法列表)
Control+H 显示当前类的继承结构
Shift+Command+H Method Hierarchy
Control+Alt+H Call Hierarchy
F2 Next Highlighted Error
Shift+F2 Previous Highlighted Error
Option+Command+上箭头 Previous Occurrence
Option+Command+下箭头 Next Occurrence
Code快捷键 说明
Command+O Override Methods…
Command+I Implement Methods…
Option+Command+T Surround With…
Control+Space Basic Completion
Command+ +/- 将当前代码块卷起或展开
Command+J Insert Live Template…
Control+Shift+/ Comment with Block Comment
Option+Command+L Reformat Code…
Option+Command+O Optimize Imports…
Refactor快捷键 说明
Option+Shift+Command+T Refactor this…
Shift+F6 Rename…
Command+F6 Change Signature
F6 Move…
F5 Copy…
Command+Delete Safe Delete…
Option+Command+V Extract Variable…
Option+Command+C Extract Constant…
Option+Command+F Extract Field…
Option+Command+P Extract Parameter…
Option+Command+M Extract Method…
Build Run 快捷键 说明
Command+F9 Make Project
Shift+F10 Run
Option+Shift+F10 Run…
Option+F9 Run to Cursor
Shift+F9 Debug
Option+Shift+F9 Debug…
Command+F2 Stop
F8 Step Over
Option+Shift+F8 Force Step Over
F7 Step Into
Option+Shift+F7 Force Step Into
F9 Resume Program
Option+F8 Evaluation Expression…
Option+F10 Show Execution Point
Command+F8 Toggle Line BreakPoint
Shift+Command+F8 View Breakpoints…
其它快捷键 说明
Option+Enter Show the list of available intention actions.
Shift+Command+A Find action by name

输入license: http://www.aku.vn/idea  即可!

本文:IntelliJ IDEA 使用教程,2017破解版

 

 

Loading

2 Comments

Add a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.