Go: Set the full Method of TAB key 4 spaces in eclipse

Source: Internet
Author: User

from:https://my.oschina.net/xunxun10/blog/110074 the full method of setting the TAB key to 4 spaces in eclipseCollectionXunXun10
    • Posted 4 years ago
    • Read 46275
    • Collection
    • 8 Likes
    • Reviews 0

1. Click window->preference-, select General->editors->text Editors, and select Insert Space for tabs on the right; as shown, save, the first step is completed;

2. Click window->preference-, select Java (or C + +)->code style->formatter, click Editor on the right, and the left tab policy value is spaces only, OK, the app is saved, as shown in:

If the Apply Apply button is grayed out, you need to go back to the previous step, click the New button, regenerate a new style according to the current style and save, repeat the 2nd step, edit the style, such as:

copyright belongs to the author.
    • Category: logbook
    • Words:157

Go: Set the full Method of TAB key 4 spaces in eclipse

Related Article

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.