how do i format my sourcecode with tab in arduino

hi, how do i format my sourcecode with tab in arduino ide ? tab key deletes the sourcecode

Cannot duplicate here.

Windows XP SP3 - Tab works fine in IDE - adds 2 spaces every time it is pressed.

tab key deletes the sourcecode

Did you maybe have all (or some) of your code selected? Windows replaces selected text with the new value, in this case, two spaces.

If you are referring to the tab deleting multiple selected rows of code, instead of indenting them all, then that's a feature that the IDE hasn't implemented.

If you are looking for a more traditional IDE experience you are probably better off using NotePad++ (or another good text editor) or Eclipse (search the forum for instructions on how to use Eclipse).

Arduino 0017 supports tab and shift-tab for indent and unindent.

[smiley=thumbsup.gif]