Arduino_Core_STM32/CI/astyle/astyle.py/ Jump to 250 lines (214 sloc)6.87 KB RawBlame # -*- coding: utf-8 -*- # File name : astyle.py # Author : Frederic PILLON <frederic.pillon@st.com> # Created : 11/16/2018 # Python Version : ...
sublime.status_message('AStyle (v%s) Formatted'%pyastyle.version()) defrun_selection_only(self,edit,options): defget_line_indentation_pos(view,point): line_region=view.line(point) pos=line_region.a end=line_region.b whilepos<end: ...
关键词:pretty print indent perltidy pydent astyle htmltidy source code beautifier内容摘要: 写本文的目的无非是2个:如果前任程序员缩进非常不整齐的代码非常影响现任维护者的代码阅读速度。 新的项目代码(无论在什么编辑环境下编写)都能够非常好的适应公司的缩进规范,可以便于开发者之间的交流。