- Open Window->Preferences from menu bar.
- Select
Text Editorsfrom tree menu. - Uncheck
Insert spaces for tabs.

After that, run Format menu from context menu and save the file:

Text Editors from tree menu.Insert spaces for tabs.
After that, run Format menu from context menu and save the file:
