• 请不要在回答技术问题时复制粘贴 AI 生成的内容
dudor
V2EX  ›  程序员

有这样风格的代码格式化插件吗

  •  
  •   dudor · Mar 28, 2016 · 3997 views
    This topic created in 3887 days ago, the information mentioned may be changed or developed.
    	
    	protected Vector3 		mPos;
    	protected Vector3 		mSize 		= Vector3.zero;
    	protected float 		mCurrent 	= 0f;
    	protected float 		distance 	= 0f;
    
    

    目前主要用 monodev 和 vs ,最好是这两个平台上的插件。。

    8 replies  •  2016-03-29 10:36:40 +08:00
    dudor
    dudor
    OP
    Mar 28, 2016
    1
    百度了一圈没找到,来大 V2EX 试试运气。。。
    rushcheyo
    rushcheyo
    Mar 28, 2016❤️1
    2
    Clang-format 有相关设置。
    UnisandK
    UnisandK
    Mar 28, 2016❤️1
    3
    Productivity Power Tools 好像有赋值对齐
    xuboying
    xuboying
    Mar 28, 2016❤️1
    4
    clang-format 要最新的才支持

    如果你还要 python 语言的,可以试试鄙人的模块

    https://github.com/xuboying/pythontidy2
    dudor
    dudor
    OP
    Mar 28, 2016
    5
    谢谢楼上各位,我参考下。。。
    morefreeze
    morefreeze
    Mar 28, 2016
    6
    顺便求下 protobuf 的这种格式化插件
    2026
    2026
    Mar 29, 2016
    7
    vim 有一个插件 vim-easy-align ,可以手工段落对齐
    bp0
    bp0
    Mar 29, 2016
    8
    其实不太理解,为啥要这样对齐。难道这样代码更容易读吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1116 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 18:13 · PVG 02:13 · LAX 10:13 · JFK 13:13
    ♥ Do have faith in what you're doing.