V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
dudor
V2EX  ›  程序员

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

  •  
  •   dudor · Mar 28, 2016 · 3511 views
    This topic created in 3686 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
        1
    dudor  
    OP
       Mar 28, 2016
    百度了一圈没找到,来大 V2EX 试试运气。。。
    rushcheyo
        2
    rushcheyo  
       Mar 28, 2016   ❤️ 1
    Clang-format 有相关设置。
    UnisandK
        3
    UnisandK  
       Mar 28, 2016   ❤️ 1
    Productivity Power Tools 好像有赋值对齐
    xuboying
        4
    xuboying  
       Mar 28, 2016   ❤️ 1
    clang-format 要最新的才支持

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

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