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
Post a Comment