当前位置:网站首页>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
边栏推荐
- Recursive method to realize the insertion operation in binary search tree
- Beginner redis
- Installation and use of esxi
- Use of crawler manual 02 requests
- Cf:d. insert a progression [about the insert in the array + the nature of absolute value + greedy top-down]
- For a deadline, the IT fellow graduated from Tsinghua suddenly died on the toilet
- Four commonly used techniques for anti aliasing
- curlpost-php
- Leetcode study - day 35
- Paging of a scratch (page turning processing)
猜你喜欢

VSphere implements virtual machine migration

Beginner redis

I'm interested in watching Tiktok live beyond concert

Four commonly used techniques for anti aliasing

Mlsys 2020 | fedprox: Federation optimization of heterogeneous networks

MCU通过UART实现OTA在线升级流程

Cannot resolve symbol error

ORA-00030

Who knows how to modify the data type accuracy of the columns in the database table of Damon

95后CV工程师晒出工资单,狠补了这个,真香...
随机推荐
curlpost-php
记一个 @nestjs/typeorm^8.1.4 版本不能获取.env选项问题
视频直播源码,实现本地存储搜索历史记录
Programmer growth Chapter 9: precautions in real projects
Mobilenet series (5): use pytorch to build mobilenetv3 and learn and train based on migration
Zhuhai laboratory ventilation system construction and installation instructions
关于#数据库#的问题:(5)查询库存表中每本书的条码、位置和借阅的读者编号
Novice entry depth learning | 3-6: optimizer optimizers
In the era of industrial Internet, we will achieve enough development by relying on large industrial categories
[groovy] compile time meta programming (compile time method interception | method interception in myasttransformation visit method)
网易智企逆势进场,游戏工业化有了新可能
Recoverable fuse characteristic test
golang mqtt/stomp/nats/amqp
C language programming (Chapter 6 functions)
Overview of Zhuhai purification laboratory construction details
毕设-基于SSM高校学生社团管理系统
cf:D. Insert a Progression【关于数组中的插入 + 绝对值的性质 + 贪心一头一尾最值】
Obstacle detection
ORA-00030
Recursive method converts ordered array into binary search tree