code formatting - eclipse: changing the # of spaces to indent/unindent -


how adjust # of spaces added/removed eclipse when hit tab or shift+tab, given filetype? working on restructuredtext files (.rst) , want 2 spaces instead of 4.

from window menu, choose preferences. navigate down general: editors: text editors: displayed tab width.

you may want check out code style other types of editors, because decide whether use tabs or spaces, , size of tab stops.

hint: in top left of preferences dialog, can type "tab" says "type filter text", , show settings related tabs.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -