Situation:
I use Zend Studio8 in mac os,
when I use source->format
the newline will change to \r\n,
After submit to P4.
My colleagues open the file in windows platform,
There will appear the extra newline.
Solution:
Preference -> General -> Workspace -> New text file line delimeter
choose Other -> Unix
沒有留言:
張貼留言