当前位置:网站首页>Idea sets the default line break for global newly created files
Idea sets the default line break for global newly created files
2022-07-06 01:14:00 【Bug No.1 quality inspector】
Read tonight 《 Ali Java Development Manual 》 In the code format section of , The tenth mandatory statute has attracted my attention . That's right ,
IDE Use of line breaks in files in UNIX Format , Do not use Windows Format .
So why is online search so , Get the following answer :
In development , You may encounter some command scripts using windows Under the text editor
When put into the test environment Linux In the middle of the day , The run will report an error .
This is because :
Windows: Binary line feed symbol :0d0a
Linux/Unix: Binary line feed symbol :0a
IDEA Set the default line break for global newly created files
Settings——>Editor——>Code Style below
Be careful :
- The changed default line break is only valid for new files , Existing files still need to be modified manually
- The default line break setting is best installed at the beginning IntelliJ IDEA Software , In this way, all subsequent files are unified line breaks
边栏推荐
- 关于softmax函数的见解
- IP storage and query in MySQL
- Finding the nearest common ancestor of binary tree by recursion
- Cf:c. the third problem
- Recoverable fuse characteristic test
- Leetcode daily question solution: 1189 Maximum number of "balloons"
- 2020.2.13
- 【第30天】给定一个整数 n ,求它的因数之和
- Four commonly used techniques for anti aliasing
- Distributed base theory
猜你喜欢
For a deadline, the IT fellow graduated from Tsinghua suddenly died on the toilet
Cf:d. insert a progression [about the insert in the array + the nature of absolute value + greedy top-down]
MCU通过UART实现OTA在线升级流程
cf:C. The Third Problem【关于排列这件事】
Condition and AQS principle
毕设-基于SSM高校学生社团管理系统
[groovy] compile time meta programming (compile time method interception | method interception in myasttransformation visit method)
基于DVWA的文件上传漏洞测试
可恢复保险丝特性测试
Introduction to robotics I. spatial transformation (1) posture, transformation
随机推荐
几百行代码实现一个 JSON 解析器
Novice entry depth learning | 3-6: optimizer optimizers
1791. Find the central node of the star diagram / 1790 Can two strings be equal by performing string exchange only once
黄金价格走势k线图如何看?
Pbootcms plug-in automatically collects fake original free plug-ins
JVM_ 15_ Concepts related to garbage collection
Overview of Zhuhai purification laboratory construction details
面试必刷算法TOP101之回溯篇 TOP34
程序员搞开源,读什么书最合适?
esxi的安装和使用
Vulhub vulnerability recurrence 75_ XStream
毕设-基于SSM高校学生社团管理系统
95后CV工程师晒出工资单,狠补了这个,真香...
Obstacle detection
Distributed base theory
servlet(1)
Is chaozhaojin safe? Will it lose its principal
For a deadline, the IT fellow graduated from Tsinghua suddenly died on the toilet
Mlsys 2020 | fedprox: Federation optimization of heterogeneous networks
Nmap: network detection tool and security / port scanner