idea is a Java integrated development environment tool software developed by JetBrains Software Company. IDEA advocates intelligent coding, and its special functions include: intelligent selection, coding assistance, flexible typesetting, dynamic syntax detection, code inspection, full support for JSP, preset templates, perfect support for version control, intelligent code, etc.
The operating environment of this tutorial: windows10 system, Dell G3 computer, IntelliJ IDEA 2022.
IntelliJ IDEA is a Java integrated development environment tool software developed by JetBrains Software Company. It provides Apache 2.0 open licensed community version and commercial version of proprietary software. Developers can choose what they need to download. use.
IntelliJ is recognized as the best java development tool in the industry, especially in intelligent code assistant, automatic code prompt, refactoring, JavaEE support, various version tools (git, svn, etc.), JUnit, CVS integration , code analysis, innovative GUI design and other functions can be said to be extraordinary. IDEA is a product of JetBrains, a company headquartered in Prague, the capital of the Czech Republic. Its developers are mainly Eastern European programmers who are known for their rigor. Its flagship version also supports HTML, CSS, PHP, MySQL, Python, etc. The free version only supports a few languages such as Java and Kotlin.
Features
What IDEA advocates is intelligent coding, which reduces programmers’ work. IDEA’s features include the following 22 points:
Intelligent selection
In many cases we have to select a certain method, or a loop, or we want to slowly expand the selection from a variable to the entire class step by step , IDEA provides this kind of syntax-based selection. In the default settings, Ctrl W can continuously expand the selection range. This method is especially convenient during reconstruction.
Rich navigation modes
IDEA provides rich navigation viewing modes, for example, Ctrl E displays the recently opened files, and Ctrl N displays the class name you want to display. Search box (this box also has a smart supplement function. When you enter letters, IDEA will display all candidate class names). In the most basic project view, you can also choose a variety of view modes.
History record function
Without going through the version management server, simple IDEA can view the history of files in any project, and you can easily restore the version Restore it.
Perfect support for JUnit
Superior support for refactoring
IDEA is the first among all IDEs to support refactoring , its excellent reconstruction capabilities have always been one of its main selling points.
Coding Assistance
ToString(), hashCode(), equals() and all get/set methods advocated in the Java specification, you do not need to perform any Code can be automatically generated just by inputting, freeing you from boring basic method coding.
Flexible typesetting function
Basically all IDEs have a rearrangement function, but only IDEA is humane because it supports customization of the typesetting mode. Different layout methods can be used according to different project requirements.
Perfect support for XML
Xml full prompt support: XML files of all popular frameworks support full prompt, whoever uses it will know.
Dynamic syntax detection
Anything that does not comply with Java specifications, your own predefined specifications, and redundancies will be highlighted on the page.
Code Check
Automatically analyze the code, detect code that does not meet the specifications and have risks, and highlight it.
Full support for JSP
No need for any plug-ins, full support for JSP.
Intelligent editing
During the code input process, methods or classes are automatically added.
EJB support
Does not require any plug-in to fully support EJB (6.0 supports EJB3.0)
Column editing mode
Those who have used UtralEdit must appreciate its column editing mode, because it reduces a lot of boring repetitive work, and IDEA fully supports this mode, which further improves coding efficiency.
Preset template
The preset template allows you to edit frequently used methods into the template. When using it, you only need to enter a few simple letters. Complete writing of all code. For example, if you use the relatively high public static void main(String[] args){}, you can preset pm as the method in the template. When inputting, you only need to enter pm and press the code auxiliary key, and IDEA will complete the automatic input of the code.
Perfect automatic code completion
Intelligently checks the methods in the class, and automatically completes the code input when it is found that there is only one method name, thereby reducing the remaining code writing work .
Perfect version control support
Integrates all common version control tool plug-ins on the market, including git, svn, and github, allowing developers to directly In IntelliJ IDEA, you can complete code submission, checkout, conflict resolution, view version control server content, etc.
Checking of unused code
Automatically checks unused code in the code and gives tips, thereby making the code more efficient.
Smart Code
Automatically check the code and give prompts if the code is found to be inconsistent with the preset specifications. If the programmer agrees to the modification, the modification will be automatically completed. For example, code: String str = "Hello Intellij " "IDEA"; IDEA will give optimization tips. If the programmer agrees to modify IDEA, it will automatically modify the code to: String str = "Hello Intellij IDEA";
Regular expression search and replace function
Find and replace supports regular expressions, thereby improving efficiency.
JavaDoc preview support
Supports the preview function of JavaDoc. Ctrl Q displays the result of JavaDoc in the JavaDoc code, thereby improving the quality of the doc document.
Programmer Intention Support
When programmers code, IDEA always detects your intention, or provides suggestions, or directly helps you complete the code.
IntelliJ IDEA download and installation tutorial (illustrated)
#1) Enter the official download page of IDEA, (the official website address is https://www.jetbrains.com/idea/), click DOWNLOAD, as shown in Figure 1.
Figure 1 IntelliJ IDEA official download page
2) IntelliJ IDEA is a cross-platform development tool that supports Windows, Mac, Linux and other operating systems. We can Download the corresponding version according to your needs. The flagship version has more comprehensive functions. Here we choose to download the flagship version. Then click Download, as shown in Figure 2.
IntelliJ IDEA provides two versions, Ultimate and Community. The Community Edition is free, but it has fewer features. The Ultimate Edition is the business edition and offers an excellent set of tools and features. For detailed information about the differences between the two versions, please refer toVersion Comparison Matrix(as shown in Figure 3). Figure 3 shows what languages the two versions support.
Figure 2 Select operating system page
Figure 3 Partial comparison between Ultimate Edition and Community Edition
3 ) You may need to register after clicking download. Under normal circumstances, ignore it. The browser will automatically download and wait for the download to complete.
4) After the download is completed, we will get an IntelliJ IDEA installation package. Double-click to open the downloaded installation package, select Next, and officially start the installation, as shown in Figure 4.
Figure 4 IDEA start installation interface
5) Set the installation directory of IDEA. It is recommended not to install it on the system disk (usually the C drive is the system disk). Select installation here. to the D drive, as shown in Figure 5.
Figure 5 Set the IDEA installation directory
6) Select the functions you need. If there are no special needs, just check the box in the picture, as shown in Figure 6 .
Figure 6 IDEA installation settings dialog box
The options in the above picture are described as follows:
Create Desktop Shortcut: Create Desktop shortcut icon, it is recommended to check 64-bit launcher;
Update context menu: Whether to add items opened from the folder to the right mouse button, check as needed;
Create Associations: Association file formats, it is not recommended to check, use lightweight text editors such as Sublime Text, EditPlus, etc. to open;
Download and install 32-bit JetBrains Runtime: Download and install JetBrains' JRE. If JRE has been installed, you do not need to check this item;
Update PATH variable (restart needed): Whether to add the IDEA startup directory to the environment variable, that is, from the command line Start IDEA and check as needed.
7) After selecting the start menu folder, click Install and wait for installation. As shown in Figure 7.
Figure 7 Select the start menu folder
8) Wait for the installation progress bar to reach 100%, click Finish, and IntelliJ IDEA will be installed. You can check the Run IntelliJ IDEA option to run IDEA after closing this window.
Figure 8 Installation completed page
For more programming-related knowledge, please visit:Programming Video! !
The above is the detailed content of What software is idea?. For more information, please follow other related articles on the PHP Chinese website!