V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
ant_sz

写了一个用来生成代码头注释的 vim 小插件

  •  
  •   ant_sz ·
    shanzi · Oct 5, 2012 · 4354 views
    This topic created in 4965 days ago, the information mentioned may be changed or developed.
    纯粹写来标记代码信息的,比如新建一个py文件会自动加入


    #! /usr/bin/env python
    ##############################################################################
    # File Name : test.py
    # Created By : shanzi
    # Creation Date : [2012-10-04 23:35]
    # Last Modified : [AUTO_UPDATE_BEFORE_SAVE]
    # Licence : shanzi (c) 2012| all rights reserved
    # Description :
    ##############################################################################


    这样的代码头,然后在每次保存的时候 Last Modified 可以自动更新,现在支持c cpp java python ruby lua 等几个语言,

    传送门(内附安装方法):
    https://github.com/yuner/autoHEADER

    这个插件没有考虑文档生成的需求,也不是很符合各个编程语言头代码独立的规范格式~噗,写完才发现下面这个地址有一个兼容doxygen文档生成的插件了。啦啦,又reinvent了一个轮子~
    http://lug.fh-swf.de/vim/vim-doxygen/index.html
    1 replies    1970-01-01 08:00:00 +08:00
    fanzeyi
        1
    fanzeyi  
       Oct 5, 2012
    https://github.com/fanzeyi/usaco.vim

    我的类似的轮子 lalalala~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3028 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 100ms · UTC 09:33 · PVG 17:33 · LAX 02:33 · JFK 05:33
    ♥ Do have faith in what you're doing.