Uncrustify option to leave whitespace on blank lines

此生再无相见时 提交于 2019-12-23 10:24:12

问题


I'm trying to find the option that leaves whitespace on blank lines. Currently uncrustify will strip all trailing whitespace (good!), however I want to keep whitespace if it's on a blank line, because it's generally to the indent level.

Is this a blank line nl_* option, or an indentation indent_* option? I can't find one to do what I want, or even to control the trailing whitespace option! It just does it by default.


回答1:


I received a response from Ben Gardner, the project lead, who had this to say:

There is no option to do this and there is no plan to add an option to do that at this point.



来源:https://stackoverflow.com/questions/14297499/uncrustify-option-to-leave-whitespace-on-blank-lines

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!