Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
Xcode
Xcode 无法删除最后一行
islujw
·
Jul 30, 2019
· 6080 views
This topic created in 2474 days ago, the information mentioned may be changed or developed.
好像从去年还是前年开始,Xcode 编辑文件时,最后一行就无法删除了,必定会自动留出空的最后一行。
有什么办法能删除最后一行吗?
Xcode
一行
删除
留出
3 replies
•
2019-07-31 11:48:20 +08:00
1
oxoxoxox
Jul 30, 2019
强迫症?
我个人觉得无所谓
我们公司规定最后一行必须是空白行,code check tools 也会警告
2
auin
Jul 31, 2019
这是 Unix 编程中的约定“ newline at end of file ” ,留着呗
https://gcc.gnu.org/ml/gcc/2001-07/msg01120.html
3
islujw
OP
Jul 31, 2019
@
oxoxoxox
liuxey 嗯,这个我知道,但用 Xcode 编辑的不一定是代码文件,还可能是别的文档呢。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
4071 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 45ms ·
UTC 05:08
·
PVG 13:08
·
LAX 22:08
·
JFK 01:08
♥ Do have faith in what you're doing.
❯