Make Aptana never use Windows line endings

梦想与她 提交于 2019-12-08 14:48:43

问题


Is there a way to configure Aptana so that it always uses Unix line feeds instead of Windows line feeds?


回答1:


You can change this setting by going into "Window" >"Preferences" > "General" > "Workspace" and change the "New text file line delimiter" from "Default" to "Other" and then select "Unix" in the drop-down menu.




回答2:


Try "File" > "Convert Line Delimiters To" > "{choose platform}" ;)




回答3:


If you have existing files you want to switch to unix line endings, use dos2unix:

dos2unix my_file_edited_on_crappy_windows.txt


来源:https://stackoverflow.com/questions/2318075/make-aptana-never-use-windows-line-endings

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!