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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.