Home Backend Development PHP Tutorial intelliJ IDEA是什么?

intelliJ IDEA是什么?

Jun 13, 2016 am 11:57 AM
intellij idea

IntelliJ IDEA是java编程语言开发的集成环境;IDEA是JetBrains公司的产品,这家公司总部位于捷克共和国的首都布拉格,开发人员以严谨著称的东欧程序员为主;它的旗舰版本还支持HTML,CSS,PHP,MySQL等。

intelliJ IDEA是什么?

IntelliJ IDEA

IntelliJ IDEA(简称IDEA)是java编程语言开发的集成环境。IntelliJ在业界被公认为最好的java开发工具,尤其在智能代码助手、代码自动提示、重构、JavaEE支持、各类版本工具(git、svn等)、JUnit、CVS整合、代码分析、 创新的GUI设计等方面的功能可以说是超常的。

IDEA是JetBrains公司的产品,这家公司总部位于捷克共和国的首都布拉格,开发人员以严谨著称的东欧程序员为主。它的旗舰版本还支持HTML,CSS,PHP,MySQL,Python等。免费版只支持Java等少数语言。

特色功能

IDEA所提倡的是智能编码,是减少程序员的工作,IDEA的特色功能有以下22点:

● 智能的选取

在很多时候我们要选取某个方法,或某个循环或想一步一步从一个变量到整个类慢慢扩充着选取,IDEA就提供这种基于语法的选择,在默认设置中Ctrl+W,可以实现选取范围的不断扩充,这种方式在重构的时候尤其显得方便。

● 丰富的导航模式

IDEA提供了丰富的导航查看模式,例如Ctrl+E显示最近打开过的文件,Ctrl+N显示你希望显示的类名查找框(该框同样有智能补充功能,当你输入字母后IDEA将显示所有候选类名)。在最基本的project视图中,你还可以选择多种的视图方式。

● 历史记录功能

不用通过版本管理服务器,单纯的IDEA就可以查看任何工程中文件的历史记录,在版本恢复时你可以很容易的将其恢复。

● JUnit的完美支持

● 对重构的优越支持

IDEA是所有IDE中最早支持重构的,其优秀的重构能力一直是其主要卖点之一。

● 编码辅助

Java规范中提倡的toString()、hashCode()、equals()以及所有的get/set方法,你可以不用进行任何的输入就可以实现代码的自动生成,从而把你从无聊的基本方法编码中解放出来。

● 灵活的排版功能

基本所有的IDE都有重排版功能,但仅有IDEA的是人性的,因为它支持排版模式的定制,你可以根据不同的项目要求采用不同的排版方式。

● XML的完美支持

xml全提示支持:所有流行框架的xml文件都支持全提示,谁用谁知道。

● 动态语法检测

任何不符合java规范、自己预定义的规范、累赘都将在页面中加亮显示。

● 代码检查

对代码进行自动分析,检测不符合规范的,存在风险的代码,并加亮显示。

● 对JSP的完全支持

不需要任何的插件,完全支持JSP。

● 智能编辑

代码输入过程中,自动补充方法或类。

● EJB支持

不需要任何插件完全支持EJB(6.0 支持EJB3.0)

● 列编辑模式

用过UtralEdit的肯定对其的列编辑模式赞赏不已,因为它减少了很多无聊的重复工作,而IDEA完全支持该模式,从而更加提高了编码效率。

● 预置模板

预置模板可以让你把经常用到的方法编辑进模板,使用时你只用输入简单的几个字母就可以完成全部代码的编写。例如使用比较高的public static void main(String[] args){}你可以在模板中预设pm为该方法,输入时你只要输入pm再按代码辅助键,IDEA将完成代码的自动输入。

● 完美的自动代码完成

智能检查类中的方法,当发现方法名只有一个时自动完成代码输入,从而减少剩下代码的编写工作。

● 版本控制完美支持

集成了市面上常见的所有版本控制工具插件,包括git、svn、github,让开发人员在编程的工程中直接在intellij idea里就能完成代码的提交、检出、解决冲突、查看版本控制服务器内容等等。

● 不使用代码的检查

自动检查代码中不使用的代码,并给出提示,从而使代码更高效。

● 智能代码

自动检查代码,发现与预置规范有出入的代码给出提示,若程序员同意修改自动完成修改。例如代码:String str = "Hello Intellij " + "IDEA"; IDEA将给出优化提示,若程序员同意修改IDEA将自动将代码修改为:String str = "Hello Intellij IDEA";

● 正则表达式的查找和替换功能

查找和替换支持正则表达式,从而提高效率。

● JavaDoc预览支持

支持JavaDoc的预览功能,在JavaDoc代码中Ctrl+Q显示JavaDoc的结果,从而提高doc文档的质量。

● 程序员意图支持

程序员编码时IDEA时时检测你的意图,或提供建议,或直接帮你完成代码。

相关文章教程推荐:java入门

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What should I use to open html? What should I use to open html? Apr 21, 2024 am 11:33 AM

To open HTML files you need to use a browser such as Google Chrome or Mozilla Firefox. To open an HTML file using a browser, follow these steps: 1. Open your browser. 2. Drag and drop the HTML file into the browser window, or click the File menu and select Open.

Four recommended AI-assisted programming tools Four recommended AI-assisted programming tools Apr 22, 2024 pm 05:34 PM

This AI-assisted programming tool has unearthed a large number of useful AI-assisted programming tools in this stage of rapid AI development. AI-assisted programming tools can improve development efficiency, improve code quality, and reduce bug rates. They are important assistants in the modern software development process. Today Dayao will share with you 4 AI-assisted programming tools (and all support C# language). I hope it will be helpful to everyone. https://github.com/YSGStudyHards/DotNetGuide1.GitHubCopilotGitHubCopilot is an AI coding assistant that helps you write code faster and with less effort, so you can focus more on problem solving and collaboration. Git

How to set Chinese in IntelliJ IDEA How to set Chinese in IntelliJ IDEA Apr 04, 2024 pm 03:31 PM

IntelliJIDEA is a development tool for the Java programming language. So how to set up Chinese for IntelliJIDEA? Here the editor will give you a detailed introduction to the Chinese tutorial on IntelliJIDEA settings. Friends in need can take a look. 1. Double-click to open the software and click "File" in the upper left corner. 2. Then click "Settings" in the option list below. 3. In the window interface that opens, click "Plugins" in the left column and enter the keyword "Chinese" in the search box on the right. 4. Then select any one of the search results given

What is the difference between webstorm and idea? What is the difference between webstorm and idea? Apr 08, 2024 pm 08:24 PM

WebStorm is tailor-made for web development and provides powerful features for web development languages, while IntelliJ IDEA is a versatile IDE that supports multiple languages. Their differences mainly lie in language support, web development features, code navigation, debugging and testing capabilities, and additional features. The final choice depends on language preference and project needs.

Java emulator recommendations: These five are easy to use and practical! Java emulator recommendations: These five are easy to use and practical! Feb 22, 2024 pm 08:42 PM

A Java emulator is software that can run Java applications on a computer or device. It can simulate the Java virtual machine and execute Java bytecode, enabling users to run Java programs on different platforms. Java simulators are widely used in software development, learning and testing. This article will introduce five useful and practical Java emulators that can meet the needs of different users and help users develop and run Java programs more efficiently. The first emulator was Eclipse. Ecl

How to introduce idea into bootstrap How to introduce idea into bootstrap Apr 05, 2024 am 02:33 AM

Steps to introduce Bootstrap in IntelliJ IDEA: Create a new project and select "Web Application". Add "Bootstrap" Maven dependency. Create an HTML file and add Bootstrap references. Replace with the actual path to the Bootstrap CSS file. Run the HTML file to use Bootstrap styles. Tip: Use a CDN to import Bootstrap or customize HTML file templates.

How to switch to Chinese in webstorm How to switch to Chinese in webstorm Apr 08, 2024 pm 01:30 PM

How to switch to Chinese in WebStorm: Open the settings panel (Windows/Linux: Ctrl + Alt + S; macOS: Command + ,). Navigate to Appearance & Behavior > Languages ​​& Frameworks. Select "IntelliJ IDEA User Interface" in the "User Interface Language" drop-down menu. Select the desired Chinese language in the "Locale" list (e.g. "Chinese (Mainland China)"). Click "Apply" to restart WebStorm.

Is there a big difference between navicat and datagrip? Is there a big difference between navicat and datagrip? Apr 24, 2024 pm 07:21 PM

The main differences between Navicat and DataGrip are: Supported databases: Navicat supports more than 30, while DataGrip focuses on JetBrains databases. Integration: DataGrip is tightly integrated with JetBrains tools, while Navicat has limited integration. Collaboration features: DataGrip offers code review and collaboration features, while Navicat does not.

See all articles