Forum Discussion

shankar_r's avatar
shankar_r
Community Hero
7 years ago
Solved

Code alignment in Units

Hi,   I have installed TD in 2 machines, One machine[#1] TC having tab count as 6 in another machine[#2] on having count as 4 like below               I have edited some s...
  • tristaanogre's avatar
    7 years ago

    It almost looks like there are tab characters being used even though you don't have that item checked.  I'm not sure what Git Hub does when importing code files, if it attempts to replace spaces with tabs or if, when you edit in Git Hub, it uses tab characters.

     

    Your settings in TestComplete looks right... however, it's a good rule of thumb to keep the same setup on multiple machines so you don't end up with mismatched formatting alignments.

     

    Another possibility could be encoding.  If one is using UTF-8 and another is using UTF-16, that could account for some differences as well.