Indenting with tabs in eclipse

I have tried every suggestion I could find, but I can’t get my code to get indented with tabs.

java -> code style -> formatter -> edit -> indentation -> “use spaces to indent wrapped lines” is unchecked and policy is set to tab only.

general -> editors -> text editors -> “insert spaces for tabs” is unchecked.

Still eclipse replaces my tabs with spaces and does auto-indentation with spaces.

I am slowly going insane

(eclipse luna)


Source: eclipse

Leave a Reply