A
A
Andrey Unger2013-11-15 08:38:02
Eclipse
Andrey Unger, 2013-11-15 08:38:02

Eclipse indent formatting

How to indent all code on the left by one tab in Eclipse? I went through all the settings, but I did not find this parameter.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
JSinga, 2013-11-15
@JSinga

1) Press: Ctrl + Shift + F

2) Another option is to go to Window->Preferences->Java->Editor->SaveActions and set code formatting preferences. Then the source code will be formatted automatically every time you save it.

P
Pavel Dolinin, 2013-11-15
@pavel_dolinin

In Window -> Preferences, for example, in the java -> Code Style -> Formatter section, which determines how to format the code, select the desired formatter and Edit there. But what would the whole code begin with a tab ... I'm not familiar with this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question