9 Star 21 Fork 13

Gitee 极速下载/mbed-os

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/ARMmbed/mbed-os
克隆/下载
.astylerc 884 Bytes
一键复制 编辑 原始数据 按行查看 历史
# Mbed OS code style definition file for astyle
# Don't create backup files, let git handle it
suffix=none
# K&R style
style=kr
# 1 TBS addition to k&r, add braces to one liners
# Use -j as it was changed in astyle from brackets to braces, this way it is compatible with older astyle versions
-j
# 4 spaces, convert tabs to spaces
indent=spaces=4
convert-tabs
# Indent switches and cases
indent-switches
# Remove spaces in and around parentheses
unpad-paren
# Insert a space after if, while, for, and around operators
pad-header
pad-oper
# Pointer/reference operators go next to the name (on the right)
align-pointer=name
align-reference=name
# Attach { for classes and namespaces
attach-namespaces
attach-classes
# Extend longer lines, define maximum 120 value. This results in aligned code,
# otherwise the lines are broken and not consistent
max-continuation-indent=120
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/mbed-os.git
git@gitee.com:mirrors/mbed-os.git
mirrors
mbed-os
mbed-os
master

搜索帮助