Eclipse编辑器:如何将文件格式从Dos更改为Unix [英] Eclipse Editor: How to change file format from Dos to Unix
问题描述
如何在eclipse中将文件格式选项设置为unix文件格式?
谢谢。
我没有安装Eclipse来检查,但是从一些搜索中,看起来有两件事情要做。 / p>
要更改新文件的默认格式:
窗口 - >偏好 - >一般 - >工作区 - >新文本文件行分隔符
要转换打开的文件:
文件 - >将行分隔符转换为 - > Unix
I am using eclipse editor to work on my remote files it appears that eclipse editor is set to dos file format, I do not know how to find fileformat set in eclipse editor, but I want it to be set on unix file format.
How can I set file format options to unix file format in eclipse ?
Similar Question to set file format in VIM
Thanks.
I don't have Eclipse installed to check, but from some searching it looks like there are two things to do.
To change the default format for new files:
Window -> Preferences -> General -> Workspace -> New text file line delimiter
To convert the file that's open:
File -> Convert Line Delimiters To -> Unix
这篇关于Eclipse编辑器:如何将文件格式从Dos更改为Unix的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!