我是靠谱客的博主 俏皮手套,这篇文章主要介绍qt creator 代码格式化工具Astyle的配置,现在分享给大家,希望可以做个参考。

参数配置:

快捷键:

相关参数:

"%{CurrentDocument:FilePath}"  --style=bsd --convert-tabs --indent=spaces=4 --attach-closing-while  --indent-switches  --indent-namespaces --indent-continuation=4 --indent-preproc-block --indent-preproc-define  --indent-col1-comments --pad-oper    --unpad-paren  --align-pointer=name    --align-reference=name   --add-braces 

 

%{CurrentDocument:Selection}

最后

以上就是俏皮手套最近收集整理的关于qt creator 代码格式化工具Astyle的配置的全部内容,更多相关qt内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(135)

评论列表共有 0 条评论

立即
投稿
返回
顶部