【Eclipse基础设置】encoding设置为UTF-8,换行符使用Unix格式

Eclipse设置UTF-8编码

 Window->Preferences->General->Workspace   面板Text file encoding 选择UTF-8

Eclipse设置Linux换行符

Windows换行符在Eclipse中的显示效果是这样的:

Windows -> Preference -> General -> workspace:

 

 

file——Convert Line Delimiters To——Unix:

然后就会转换成Linux的风格:

 

posted @ 2018-08-31 10:31  大天使之墓  阅读(1373)  评论(0编辑  收藏  举报