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