4 Replies Latest reply on Jun 16, 2011 1:11 PM by int_avg

    Inserting new PHP code block CS5.5 indents with a tab instead of a space


      I am testing Dreamweaver CS 5.5, and am running into a problem with PHP code. At work, tab characters are specifically forbidden in any source code.


      When I create a function, after the opening bracket, when I press enter, Dreamweaver automatically indents the next line with a tab character.


      How do I change this behavior?


      In Edit > Preferences > Code Format, I have disabled indenting with no effect.

      In Edit > Preferences > Code Format, I have set the indent to two spaces with no effect.


      Example to replicate:


      <space><space>function declaration {<press Enter>

      <space><space><tab auto indent added by Dreamweaver>


      Please advise how I can change this behavior. Thanks.