Android Win7 System, eclipse when you write code, see the problem of misalignment in Sourceinsight

Source: Internet
Author: User

Win7 system, when Eclipse writes code, see the problem of misalignment in Sourceinsight:

Use the SPACEBAR instead of the TAB key, the steps are as follows:

Step 1:
Windows->preferences->general->editors->text Editors, select "Insert Spaces for tabs".


Step 2:
Windows->preferences->java->code Styles->formatter, click the Edit button on the Acitivie profile side. In the general settings of the page that opens, make tab policy space only.

The above two steps can be


Eclipse Workspace Set Default editing width

1) Open window = Preferences


2) Open the Formatter property page from java = Codestyle = Formatter


3) Click New to create your own formatter


4) Select the Line Wrapping property page and set maximum line width to 120


5) Then go all the way OK


Android Win7 System, eclipse when you write code, see the problem of misalignment in Sourceinsight

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.