当前位置:网站首页>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
边栏推荐
- The inconsistency between the versions of dynamic library and static library will lead to bugs
- After 95, the CV engineer posted the payroll and made up this. It's really fragrant
- Leetcode daily question solution: 1189 Maximum number of "balloons"
- Beginner redis
- C language programming (Chapter 6 functions)
- 普通人下场全球贸易,新一轮结构性机会浮出水面
- Blue Bridge Cup embedded stm32g431 - the real topic and code of the eighth provincial competition
- Modify the ssh server access port number
- [groovy] compile time meta programming (compile time method interception | method interception in myasttransformation visit method)
- 可恢复保险丝特性测试
猜你喜欢
随机推荐
SCM Chinese data distribution
After Luke zettlemoyer, head of meta AI Seattle research | trillion parameters, will the large model continue to grow?
The population logic of the request to read product data on the sap Spartacus home page
Dedecms plug-in free SEO plug-in summary
Lone brave man
Hcip---ipv6 experiment
Kotlin basics 1
golang mqtt/stomp/nats/amqp
Interview must brush algorithm top101 backtracking article top34
Illustrated network: the principle behind TCP three-time handshake, why can't two-time handshake?
Leetcode study - day 35
Development trend of Ali Taobao fine sorting model
Finding the nearest common ancestor of binary tree by recursion
Vulhub vulnerability recurrence 74_ Wordpress
Questions about database: (5) query the barcode, location and reader number of each book in the inventory table
How to see the K-line chart of gold price trend?
Pbootcms plug-in automatically collects fake original free plug-ins
记一个 @nestjs/typeorm^8.1.4 版本不能获取.env选项问题
Tcpdump: monitor network traffic
esxi的安装和使用