how to align tabs (whitespaces) on github when using eclipse -


within eclipse when using inline comments // do, sake, align comments @ same position using tabulator, i.e:

$this->site=new openrtb_site($mixed->site);                     //see site object        $this->device=new openrtb_device($mixed->device);               //see device object 

but when commit github , see file there, of lines got broken like:

$this->site=new openrtb_site($mixed->site);                     //see site object        $this->device=new openrtb_device($mixed->device);           //see device object 

how can handle in comfort way? (not using external white space parser)

example of broken file here: https://github.com/ulkas/openrtbphp4/blob/master/openrtbphp4.php

the problem github shows each tab 8 spaces :)

i can think in 2 solutions:

  • change editor show each tab 8 spaces
  • change editor use spaces instead of tab

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -