当前位置:网站首页>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 detailed page returns to the list and retains the original position of the scroll bar
- Promise
- Unity | 实现面部驱动的两种方式
- How to see the K-line chart of gold price trend?
- Tcpdump: monitor network traffic
- Synchronized and reentrantlock
- Recommended areas - ways to explore users' future interests
- Keepalive component cache does not take effect
- The population logic of the request to read product data on the sap Spartacus home page
- MobileNet系列(5):使用pytorch搭建MobileNetV3并基于迁移学习训练
猜你喜欢

VMware Tools installation error: unable to automatically install vsock driver

The inconsistency between the versions of dynamic library and static library will lead to bugs

Finding the nearest common ancestor of binary search tree by recursion

BiShe - College Student Association Management System Based on SSM

Test de vulnérabilité de téléchargement de fichiers basé sur dvwa

JVM_ 15_ Concepts related to garbage collection

2020.2.13

Cf:c. the third problem

View class diagram in idea

Beginner redis
随机推荐
WordPress collection plug-in automatically collects fake original free plug-ins
有谁知道 达梦数据库表的列的数据类型 精度怎么修改呀
About error 2003 (HY000): can't connect to MySQL server on 'localhost' (10061)
Convert binary search tree into cumulative tree (reverse middle order traversal)
curlpost-php
Hundreds of lines of code to implement a JSON parser
Use of crawler manual 02 requests
黄金价格走势k线图如何看?
Installation and use of esxi
IP storage and query in MySQL
伦敦银走势中的假突破
现货白银的一般操作方法
Dedecms plug-in free SEO plug-in summary
vSphere实现虚拟机迁移
golang mqtt/stomp/nats/amqp
282. Stone consolidation (interval DP)
【第30天】给定一个整数 n ,求它的因数之和
cf:C. The Third Problem【关于排列这件事】
For a deadline, the IT fellow graduated from Tsinghua suddenly died on the toilet
Finding the nearest common ancestor of binary tree by recursion