sponsor Vim development Vim logo Vim Book Ad

auto_update_cscope_ctags_database : 1:auto update cscope ctags database2:easy create database 3: auto plugn database

 script karma  Rating -1/1, Downloaded by 479  Comments, bugs, improvements  Vim wiki

created by
Hidin zhang
 
script type
ftplugin
 
description

github link :    https://github.com/haolongzhangm/auto_update_cscope_ctags_database
 
install details
https://github.com/haolongzhangm/auto_update_cscope_ctags_database/blob/master/README.md
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
auto_update_cscope_ctags_database.tar.gz v5 2018-09-27 7.0 Hidin zhang V5 release
auto_update_cscope_ctags_database.tar.gz v4.0.1 2018-05-03 7.0 Hidin zhang commit 2923a91f76d85244476b8e22564c0b0ce1cca0ee
Author: haolong.zhang <haolong.zhang@ck-telecom.com>
Date:   Wed May 2 10:19:46 2018 +0800

    support MAC OS support
    v4.0.1 release

commit 18b7049fd5c2b15cca3c75b54eac6fddd644f0ef
Author: haolong.zhang <haolong.zhang@ck-telecom.com>
Date:   Fri Apr 20 14:49:03 2018 +0800

    Add support .cmake file

commit b357fe856099ed4a855950553e6ff1b81e56c191
Author: haolong.zhang <haolong.zhang@ck-telecom.com>
Date:   Mon Apr 2 18:02:47 2018 +0800

    fix:
        compat vim with python3, or vim support
        both python2 and python3

commit f0350d88d9ce23113cc65eb27b9a6763c2d11403
Author: haolong.zhang <haolong.zhang@ck-telecom.com>
Date:   Sat Feb 24 17:09:36 2018 +0800

    support cl file

auto_update_cscope_ctags_database.tar.gz v4.0 2018-01-28 7.0 Hidin zhang v4.0 release
bugfix
auto_update_cscope_ctags_database.tar.gz v3.0.2 2017-08-22 7.0 Hidin zhang     optimize support python API logic
    
    U may choose support python API or not
    when create 'not_kernel' project:
    eg:
        ...
        ...
        A not_kernel project will create
    
                Support soft link file or not? (while add -L to find commmand)
                Yes: please input 'yes' to support soft link file, default 'NO'>>>
                Customization disable soft link file
    
                Support python API or not? only take effect when project have python file
                (if U care about python lib API, U may input yes)
                Yes: please input 'yes' to support pythonlib API, default 'NO'>>>

-------------------------------------------------------------------------------------------------------------
    Fix Issue(Fuc imp)
        do not call remove cscope database when leave from *.py
        caused by python lib API dir do not include a database
        when into python Lib dir ,we want to use old database
    
        will cause new 'issue' TODO:
            when in python project, while do not support
            diff project databse swith
    
        if U do not want to support python lib use old databse
        U can remove 'au BufNewFile,BufEnter *.py let g:python_file=1'
        from autoload_cscope_ctags.vim file
auto_update_cscope_ctags_database.tar.gz v3.0.1 2017-08-08 7.0 Hidin zhang     Use opt format args
    change 'normal' to 'not_kernel'
auto_update_cscope_ctags_database.tar.gz v3.0 2017-07-27 7.0 Hidin zhang 1):update version to v3.0
2): if a project is not kernel code project,
    we will have a chance to config support
    soft link file or not,as we known find
    command do not find soft link by default
    if user care about this file, user can
    enable it by command: Createtag
    then input yes when msg:
    please input 'yes' to support soft link file, default 'NO'
    
    <Requirement from baidu Apollo project> so many
    soft link file from google bazel build system
    
    eg msg:
    
    BUF: /media/zhl/second/8976_1_qcom/msm8976/LINUX/android/external/ppp/CleanSpec.mk
    CUR: /media/zhl/second/8976_1_qcom/msm8976/LINUX/android/external/ppp
    Now try to Create cscope and ctags database
    A normal project will create
    
    Support soft link file or not? (while add -L to find commmand)
    Yes: please input 'yes' to support soft link file, default 'NO'>>>
auto_update_cscope_ctags_database.tar.gz v2.0.6 2017-07-24 7.0 Hidin zhang v2.0.6: 20170724 type file issue fix, care_file_type * include
auto_update_cscope_ctags_database.tar.gz v2.0.5 2017-07-24 7.0 Hidin zhang     1)add file type: *.launch
        easy for baidu Apollo proj    

    2)compat for find command more versin:some find will
    return err when use like :find -name *.py
    should be find -name '*.c'
    
    3)do not call remove cscope database when leave from *.py
    caused by python lib API dir do not include a database
    when into python Lib dir ,we want to use old database
    
    will cause new 'issue' TODO:
        when in python project, while do not support
        diff project databse swith
auto_update_cscope_ctags_database.tar.gz v2.0.4 2017-07-20 7.0 Hidin zhang add python lib API jump support, (only for normal project , do not support kernel project)
auto_update_cscope_ctags_database.tar.gz v2.0.3 2017-07-19 7.0 Hidin zhang add more file type, support baidu apollo easy tag
auto_update_cscope_ctags_database.tar.gz 2.0.2 2017-05-24 7.0 Hidin zhang update version to 2.0.2

Add cmdline mode detect
            cmdline do not supprot command:eg cs reset
            so we delay "Cscope_reset_detect_timer" func
            when in cmdline mode

optimize:
            make a difference between kernel mode and 'normal' mode
            when gen ctags args

auto_update_cscope_ctags_database.tar.gz 2.0.1 2017-05-20 7.0 Hidin zhang update version to 2.0.1

Fix issue:
            change g:check_update_when_fisrt_load_vim mode to 3
            let check_update_when_fisrt_load_vim do not depend on
            g:auto_run_function_when_cscope_connect

open more feature for ctags, helpfull for c++ and java type

add more fiter for ctags, which is help for kernel code
auto_update_cscope_ctags_database.tar.gz 2.0 2017-05-19 7.0 Hidin zhang     add command Manualupdatedatabaseonetime
            some user may disable g:auto_run_function_when_cscope_connect
            g:check_update_when_fisrt_load_vim
            so we add a command to user user have a chance to update
            database onetime
auto_update_cscope_ctags_database.tar.gz 1.0.1 2017-05-12 7.0 Hidin zhang fix v1.0 issue
auto_update_cscope_ctags_database.tar.gz 1.0 2017-05-03 7.0 Hidin zhang Initial upload
ip used for rating: 54.221.147.93

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo