Tab Indent and Detect indent on open
Posted: Wed Mar 10, 2010 1:25 pm
Hi,
I'd like to use the "Detect indent on open" formatting option to keep an existing indenting option, and at the same I'd like time that the new files I create to be indented with tabs instead of spaces.
It seems that whenever I create a new file (e.g. with the Eclipse plugin New... > oXygen > XML File and other items) the file uses space-indent by default. I can only force tab-indent if I disable the "detect indent" option.
Is there any way to change the default indent of new files ?
Thanks!
Romain.
I'd like to use the "Detect indent on open" formatting option to keep an existing indenting option, and at the same I'd like time that the new files I create to be indented with tabs instead of spaces.
It seems that whenever I create a new file (e.g. with the Eclipse plugin New... > oXygen > XML File and other items) the file uses space-indent by default. I can only force tab-indent if I disable the "detect indent" option.
Is there any way to change the default indent of new files ?
Thanks!
Romain.