25 reasons to like using IntelliJ idea

Source: Internet
Author: User

IntelliJ idea is a relatively new Java IDE. It's one of the most useful Java development environments I've ever used (I've used most Java development environments). The highly optimized IntelliJ idea makes common tasks quite easy.

Usually not a large label feature makes a product truly useful. But these small aspects: many of the small details inside make the whole package seamless integration and ready to use.

Here are some of the reasons I really love idea.

1. The choice of perceptual grammar words

Use ctrl-w repeatedly to make the selected expression grow until you select the entire file. But that doesn't sound very important, and it really works when used in conjunction with other features such as "Introduce variable" refactoring ("Introducing variable" re-engineering). I can place the caret on a complex expression, press ctrl-w until I select the desired range and then press CTRL-ALT-V to introduce a new variable to the expression. If I want to replace the other event idea of this expression, idea can even be done automatically.

2. Various navigation forms

In a project, idea has a number of methods for conversion. All commands except the mouse can be implemented via the keyboard (which is absolutely good for people like me who can't stop switching to the mouse). Ctrl-n can find a class by typing the class name. Ctrl-shift-n can find files. Ctrl-e gets the most recently edited file by typing the filename or the mouse button to select it. Commands are not only easy to navigate in your project's two views, but also make consolidation easy. ALT-F1 can be you select the current file in any other view. There are too many ways to navigate the project here. All commands do not have to be defined as ideas.

3. Local History

Turn on local history, and every change in your source code (in tool and externally) is tracked. This feature saved me many times, so I recommend it. The different places are highlighted in an absolutely beautiful diff viewer.

4. Flexible JUnit Support

Unit tests can be run independently. Special test methods can be pulled separately to run independently. Idea can automatically run all tests in a package or project without having to manually start a troublesome test suite. Double-click on the heap trace in the GUI runtime to switch directly to the corresponding line in the source code. Personally, I think I prefer the text-running device. It is not only beautiful but also faster and more functional.

5, the design of excellent integration support

IDEA supports many integration functions. More important to make their design easier to use. There are some that you will use all the time, and some that are almost impossible to use. When you find that you need them, they become a big time saver.

6. Code Assistant

There are some really powerful code-writing assistants in idea. Here I can only introduce you to some of its benefits. A better example is the delegate method Assistant. It allows you to delegate method calls within your class for an object instance. It's not something you use every day, but when you need it you'll find yourself saving a lot of time. Another example is the generation of redundant code and equivalence characteristics. You will find that this is a feature that you use frequently. Some other code assistant features are: generating getters/setters, generating constructors and "surround with ..." (Translator Note: what protection) and other characteristics.

7. Flexible Code reformatting

There are many choices about how the code is reformatted. It can be set separately for each project, so there's no need to worry about whether you have to support different code standards. Reformatting a file or a complete project can be done in a blink of an eye.

8. XML support

Idea supports code implementations in XML. If you do not define a chart or a DTD (file type definition) idea will be implemented based on what is already contained in the file. Otherwise, it may be based on a diagram or DTD defined for the file. Idea also corrects XML.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.