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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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