How do I adjust the # of spaces added/removed by Eclipse when I hit Tab or Shift+Tab, for a given filetype? I am working on reStructuredText files (.rst) and want 2 spaces for those instead of 4.
Changing the Color Theme To change the color theme in your editor: Go to Window | Preferences | General | Appearance | Color Theme. The list of available Eclipse color themes is displayed.
If you want to join this club, simply type "Dark" into the Quick Access box and press enter. This brings you to the correct preference page. Select Dark, press Apply and Close (and restart your IDE to fully apply the theme).
In Eclipse, to open the desired theme selection window go to Window > Preferences > DevStyle > Color Theme . In Extras section, click import and select dracula-theme.
From the Window menu, choose Preferences. Navigate down to General: Editors: Text Editors: Displayed tab width.
You may also want to check out the code style for some other types of editors, because they decide whether to use tabs or spaces, and the size of the tab stops.
Hint: In the top left of the preferences dialog, you can type "tab" where it says "type filter text", and it will show you all settings related to tabs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With