DDT-IDE / DDT

DDT is an Eclipse-based IDE for the D programming language:
http://ddt-ide.github.io/
101 stars 16 forks source link

Tab policy: "Spaces Only" setting not honoured #91

Closed luc-j-bourhis closed 9 years ago

luc-j-bourhis commented 9 years ago

With Eclipse Luna SR1 (4.4.1) on MacOS 10.9, I have set up in Preferences > DDT > Editor > Typing

but when I hit the Tab key, a tab is inserted instead of 2 spaces. I am sure because I set up Eclipse to display the tab characters everywhere. For the record, I managed to get C++ code to indent with spaces by going to Preferences > C/C++ > Code Style > Formatter and then editing the active profile.

bruno-medeiros commented 9 years ago

Correct, it's only being honored when newlines are entered. It should do the same with Tab key, yes.