- IDE的 text file encoding 设置为UTF-8;IDE中文件的换行符使用UNIX格式,不要使用Windows格式。
1.1 具体设置在 Window - Preferences,左边选择 General - Workspace ,右边的 New text file line delimiter选择 Other ,然后在里面选择 Unix,点 Apply ,再点OK 关闭窗口,这样新建立的文件就是 Unix 格式了。
本文标题:编程规约
本文链接:https://www.haomeiwen.com/subject/thrbxftx.html
网友评论