Tovcn
V2EX  ›  问与答

整理代码缩进的程序,欢迎各位大神前来围观

  •  
  •   Tovcn · Oct 4, 2016 · 2888 views
    This topic created in 3535 days ago, the information mentioned may be changed or developed.

    https://github.com/cjkzwe/Auto-Code-Indentation-Finishing

    我的一个项目,用来整理 c 语言代码缩进的程序,目前正在编写中 刚入门的新手,代码很次,望大神们见谅。 如果觉得还能看得下去,请帮忙 Star 一下,谢谢。

    5 replies    2018-01-01 20:53:46 +08:00
    CloudnuY
        1
    CloudnuY  
       Oct 4, 2016
    /go/create

    八格 Tab 缩进?………………
    muziki
        2
    muziki  
       Oct 4, 2016 via iPhone
    自己实现 indent 的部分功能?
    htfy96
        3
    htfy96  
       Oct 4, 2016
    感觉可以配合 https://github.com/antlr/grammars-v4/blob/master/c/C.g4 做分析会更准一些
    aploium
        4
    aploium  
       Oct 4, 2016
    可以试试看 CLion 的自动代码格式化(默认快捷键 Ctrl+Alt+L)
    Tovcn
        5
    Tovcn  
    OP
       Jan 1, 2018
    本项目已经改为线下维护,正在努力适配多种语言,请等待复出。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1544 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 16:52 · PVG 00:52 · LAX 09:52 · JFK 12:52
    ♥ Do have faith in what you're doing.