当前位置:网站首页>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
边栏推荐
- Character recognition easyocr
- Conda 虚拟环境管理(创建、删除、克隆、重命名、导出和导入)
- mysql-触发器、存储过程、存储函数
- 域内用户访问域外samba服务器用户名密码错误
- MySQL triggers, stored procedures, stored functions
- 框架解析1.系统架构简介
- Ptorch learning record (XIII): recurrent neural network
- The difference between cookie and session
- Ora: 28547 connection to server failed probable Oracle net admin error
- 创建线程的三种方式
猜你喜欢
随机推荐
Ora: 28547 connection to server failed probable Oracle net admin error
The list attribute in the entity is empty or null, and is set to an empty array
SQL基础:初识数据库与SQL-安装与基本介绍等—阿里云天池
手动删除eureka上已经注册的服务
PyQy5学习(四):QAbstractButton+QRadioButton+QCheckBox
开发环境 EAS登录 license 许可修改
JDBC操作事务
MySql基础狂神说
Pytoch learning record (x): data preprocessing + batch normalization (BN)
Summary of redis classic interview questions 2022
io. lettuce. core. RedisCommandExecutionException: ERR wrong number of arguments for ‘auth‘ command
Pytorch learning record (XI): data enhancement, torchvision Explanation of various functions of transforms
Strategies to improve Facebook's touch rate and interaction rate | intelligent customer service helps you grasp users' hearts
Total score of [Huawei machine test] (how to deal with the wrong answer? Go back once to represent one wrong answer)
Record a project experience and technologies encountered in the project
Deconstruction function of ES6
Pytorch learning record (IX): convolutional neural network in pytorch
redhat实现目录下特定文本类型内关键字查找及vim模式下关键字查找
类的加载与ClassLoader的理解
PHP处理json_decode()解析JSON.stringify









