I like 25 reasons for using Intellij Idea.

zhaozj2021-02-16  49

25 reasons for using Intellij Idea

Intellij Idea is a relatively new Java IDE. It is the most useful one I have used (I have used most Java development environments) Java development environment. Highly optimized Intellejidea makes normal tasks easily.

Usually not a large label feature makes a product truly useful. But these small aspects: many small details inside make the entire package seamlessly integrate and use.

Here is some reasons I really love idea.

1, perceived grammar selection

Repeated use of Ctrl-W to gradually increase the selected expression until the entire file is selected. But this sound is not very important, it is really easy to use in combination with other features such as "Introduce Variable" refactoring ("introducing variable" reunion). I can put the trip in a complex expression, press CTRL-W until the desired range is selected, then press CTRL-ALT-V to introduce a new variable. If I want to replace this expression, Idea can even be automatically done.

2, various navigation forms

In one project, Idea has many ways to convert. All commands outside the mouse can be achieved by keyboard (this is absolutely good for those who do not endure to switch to the mouse like me). Ctrl-n can find a class by typing class name. Ctrl-shift-n can look for files. Ctrl-e gets the most recently edited file, select the file name or mouse button. The command can not only navigate in two views of your project, but also make the integrated operation easily. ALT-F1 can be you selecting the current file in any other view. The project navigation is too much to be all listed here. All commands don't have to give a concept like a view.

3, local history

Turn on local history, every change in your source code (in Tool and ExternalLy) is tracked. This feature saved me many times so I recommended it. Different places are highlighted in an absolutely beautiful differential viewer.

4, flexible JUnit support

Unit tests can run independently. Special test methods can be pulled out separately. IDEA can automatically run all tests in a package or engineering without the need to manually start a troublesome test kit. Double-click on the slave line in the GUI runter to switch directly to the corresponding row of the source code. I personally think I prefer a text runner. It is not only beautiful and the speed is faster.

5, design excellent integration support

IDEA supports many integrated functions. More important to make them easy to use. There are some you will always use, and some are almost not used. When you find that they need them, they have become a big time to save.

6, code assistant

There are some truly powerful code written assistants in Idea. Here I can only introduce it to you. A preferred example is the "Probress Method" Assistant. It allows you to call a method for an object instance in your class. It is not something you use every day, but when you need it, you will find yourself in a lot of time. Another example is to generate redundant code and equation. You will find that this is a feature that is often used. Other code assistant features: generating getters / setters, generating features such as "Surround With ..." (translator Note: What protects).

7, flexible code is constant

There are a lot about how the code is highly formatted. It can be set separately for each project, so it is not necessary to worry if he must support different code standards. Keep a file or a complete project to complete.

8, XML support

IdeA supports code implementation in XML. If you do not define a chart or DTD (file type definition) IDEA will be implemented based on the file already included. Otherwise, it may be implemented based on chart or DTD defined for a file. Idea also corrected XML.

9, intuitive and simple GUI

More fun is that functions in each program can be accessed by keyboard. This is what should be any in a development tool, but sad is that most IDEs are not paying attention to keyboard navigation.

In order to complete the job, it is not necessary to switch between different views, nor does it need to be selected between different windows.

10, automatic synchronization with the file system

No matter how good your IDE is, it usually needs to work outside of the tool. Idea is doing very well at this point. Most projects can be used without changing their structures in IDEA. Idea can also check the files outside the file. This doesn't require manual refresh to tell IDEA a file has been changed. 11, custom keyboard mapping

The default keyboard mapping comes with the IDEA is very useful. It is easy to do if you sometimes need to change. Some keys can also set barriers such as external tools and ANT targets.

12, dynamic error highlight

When the key code is java code, XML is dynamically parsed by the Java document tag, and the error will also be reported. ANT builds files can even provide additional support for Ant engineering syntax.

13, check

Run the code check to report a large number of potential error points. It can be prepared as a script to operate as a batch work, and the result can also be submitted in the form of a web page.

14, fully understand JSP

Idea understands the structure of JSP. Many functions acting on ordinary Java codes are equally applicable to JSP (such as integrated functions). Also supports JSP debugging.

15, dexterous editing

Some tips such as typing the quotation marks and parentheses make life easier :).

16, support EJB

Idea understands EJB, although it does not include special support for individual application servers. No matter how it is best to use with Ant. EJB supports easy use and is really - this is the case. 17, almost no guide

Over the time, many manufacturers bind a large number of guides instead of designing a simple and easy interface. Although there is a guide but is just an abuse of tools. The IDEA contains only a wizard to help create new projects and can still create a program that is easy to use for novices.

18, dexterous template

These smart templates are pieces of code, they are used to do a variety of surprising things. I was shocked when I first use the "Iterage Over Collection" template. It not only picks up the correct default collection variable and knows what I have put in and the default method. This feature is difficult to describe it on paper. Download a test version test.

19, the best code implementation support

IDEA now has three code implementation support to implement default variable name, Javadoc, and other code details.

20, integrated ANT

IDEA supports ANT establishment tools. It is not only to run the target it also supports compiling and running the target before and after the program, but also supports the binding keyboard shortcut.

When editing an ANT to establish an XML file, IDEA also supports the XML section of the ANT project.

21, unused code highlight display

If the IDEA checks out a variable or method is not used, it will display it as an unambiguous warning. Check that can be used to do more detailed death code analysis. Even Javadoc labels can also be found.

22, tips

Ctrl-D Copy the selected code. If you don't choose, copy it. CTRL-C is copied in the case where the Ctrl-C is copied, and Ctrl-x is cut.

Ctrl-Shift-J will be a connection to VI, unless it is sensitive. For example, there is such a line:

String s = "this is"

"a split string";

After the connection is:

String s = "this is a split string";

23, regular lookup and replacement performance

Regular lookup is possible, but the more wonderful fact is that you can also replace it. This can save a lot of time.

24, fast javadoc

Javadoc can be easily viewed easily through Ctrl-Q via Ctrl-q. Access can also be accessed in the encoding implementation period.

25, conscious action

It will help you when IdeA will help you through some way. For example, if you want to use an expression to match the specified variable, IDEA will be aware of this and give you some options, either use the expression either change you in use.

转载请注明原文地址:https://www.9cbs.com/read-27320.html

New Post(0)