当前位置:网站首页>EditorConfig
EditorConfig
2022-04-23 05:51:00 【Lin Zi 520】
0. The website links
1. What is? EditorConfig file ?
EditorConfig Help developers in different editors and IDE Define and maintain a consistent coding style between .EditorConfig The project consists of a file format for defining encoding styles and a set of text editor plug-ins , These plug-ins enable the editor to read the file format and follow the defined style .EditorConfig The document is easy to read , And use with version control system .
Different developers , Different editors , There are different coding styles , and EditorConfig It is a tool used to standardize the style and style of code among team developers , and .editorconfig It's its default profile .
2. Sample file
# tell EditorConfig plug-in unit , This is the root directory , Don't keep looking up
root = true
# Match all files
[*]
# Set character set
charset = utf-8
# End newline , Optional "lf"、"cr"、"crlf"
end_of_line = lf
# matching .java Final document
[*.java]
# Indent style , Optional "space"、"tab"
indent_style = space
# Number of indented spaces
indent_size = tab
# tab Width
tab_width = 4
# Remove the leading and trailing spaces in a line
trim_trailing_whitespace = true
# Insert a new line at the end of the file
insert_final_newline = false
Reference blog :
Be curious , In the root directory of the project .editorconfig file
版权声明
本文为[Lin Zi 520]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230543037346.html
边栏推荐
- Pytorch学习记录(五):反向传播+基于梯度的优化器(SGD,Adagrad,RMSporp,Adam)
- JDBC操作事务
- Redis经典面试题总结2022
- Golang implements Ping connectivity detection case through exec module
- js数字大写方法
- 引航成长·匠心赋能——YonMaster开发者培训领航计划全面开启
- Pytorch学习记录(十二):学习率衰减+正则化
- Excel obtains the difference data of two columns of data
- EditorConfig
- Opensips (1) -- detailed process of installing opensips
猜你喜欢
Differences between sea level anatomy and sea surface height anatomy
‘EddiesObservations‘ object has no attribute ‘filled‘
基于ssm 包包商城系统
Pytorch学习记录(三):神经网络的结构+使用Sequential、Module定义模型
jdbc入门\获取数据库连接\使用PreparedStatement
SQL注入
多线程与高并发(1)——线程的基本知识(实现,常用方法,状态)
lambda表达式
第36期《AtCoder Beginner Contest 248 打比赛总结》
引航成长·匠心赋能——YonMaster开发者培训领航计划全面开启
随机推荐
MySQL create Oracle exercise table
多线程与高并发(1)——线程的基本知识(实现,常用方法,状态)
Hotkeys, interface visualization configuration (interface interaction)
尚硅谷 p290 多态性练习
PreparedStatement防止SQL注入
Idea plug-in --- playing songs in the background
2.devops-sonar安装
JVM family (4) -- memory overflow (OOM)
异常的处理:抓抛模型
Date增加天数
Multithreading and high concurrency (3) -- synchronized principle
2-软件设计原则
Duplicate key update in MySQL
Batch import of orange single micro service
ES6之解构函数
数据处理之Numpy常用函数表格整理
filebrowser实现私有网盘
JVM series (3) -- memory allocation and recycling strategy
PyEMD安装及简单使用
Record a project experience and technologies encountered in the project