Intellij idea 13 basic settings

Source: Internet
Author: User

Recently I also want to try this self-proclaimed "the best Java ide", but since I have been using eclipse since I started learning Java, I have to say, at the beginning, I always thought it was a bit wrong. When I configured the features I used at ordinary times, I found that this ide gave me a good first impression.

 

The first is the basic problem-project and modul. In idea, project is equivalent to the work zone in eclipse, while modul is equivalent to the project in eclipse. The following url is an answer to the basic question of the volume Ser. For details, refer:

Http://www.jetbrains.com/idea/documentation/migration_faq.html

 

Then the settings you are used

1. Font




First, you need to save your own scheme. Later ide settings will be set on this myfont2. You can also export your own ide settings. The settings related to the editor are concentrated in this editor. You can also set them separately, such as the console.


2. Tab

You can use the Tab character to set the tab. If you want to delete a tab, you will want to delete a character, instead of deleting it four times.



3. Shortcut Keys

The idea smart prompt shortcut key is Ctrl + Space key, and my shortcut key is occupied by the input method switch. After some tossing, I simply changed it to Alt +. Search for the word "Basic" in the keymap and modify it according to the corresponding prompt. A warning that the shortcut key has been occupied will appear in the middle, but I will ignore it.



4. Web Container

I am using tomcat, so the following configuration is available:




The configuration here is quite simple, just follow the steps it prompts. For a simple web project, there is still a database, you naturally need to import a third-party package, right-click your project, click Open modul settings to import the file.



After the preceding settings are complete, the basic settings are almost the same, and I have set theme for another topic (in) appearance. However, a new IDE setting is required after the topic is set, the above process also needs to be repeated.

 

Shows the entire IDE.




During development, we also use git on a daily basis, so we need to configure it here. Open GitHub in version control, enter your GitHub account and password, and click test.



Install git for Windows and set git.exe in its bindirectory, for example:



After you click Apply-OK, you can use git version control. You also need to click the Enable VCs option in the VCs menu to checkout from the remote warehouse, or submit or push the command, you can use the GUI or shortcut key to complete the operation.

 

For the shortcut keys, I will remember them when I use them more. Here I only talk about the most basic settings of my own. Of course, I have not mentioned more use cases, after using it, you will be aware of it.

 

In addition, the main method and annotation output method are as follows: Enter psvm and sout, and then the smart prompt is displayed.

 

Finally, do not forget to set the encoding settings --- fileencodings in Project Settings




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.