![]() CTAGS GEDIT INSTALLenable-pythoninterp=yes -with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu/ (this dir may diff between diff pc)īuild/install vim : sudo make install -j8 configure -with-features=huge -enable-rubyinterp -enable-perlinterp=yes -enable-tclinterp=yes CTAGS GEDIT CODEOr read docs/autotools.rst of universal-ctags code Libseccomp-dev libjansson-dev libyaml-dev libxml2-dev Sudo apt install gcc make pkg-config autoconf automake python3-docutils Just do: cp ~/.vim/bundle/auto_update_cscope_ctags_database/misc_config/.globalrc ~/ globalrc file, if you do not config this file Which will can use base function(update cscope and ctags database)Ī: sudo apt-get install libgtk2.0-dev libxt-dev libx11-devī: sudo apt-get install tcl-dev libperl-dev libncurses5-dev python-dev python3-dev ruby-dev If U vim do not support timers, Feature (auto reset cscope' and 'check_update_when_first_load_vim)will be disable If you os support command: gnome-osd-client or notify-send, GUI will show mesage when collect databaseĪlso suggest build vim with timers(vim -version| grep timers) Need must install: cscope sed python and vim_with_python( vim -version| grep python) 'Bundle 'haolongzhangm/auto_update_cscope_ctags_database' Ps: 1 2 3 4 5function already be integrated in "auto_update_cscope_ctags_database"ħ: cp auto_update_cscope_ctags_database/misc_config/.globalrc ~/ #ways A Global will be more fast than cscope, about 2X fastĪll ctags file use the same with cscope backend createġ: remove hard config database in vimrc eg: set tag=tags Ģ: remove hard config database in vimrc eg: cs add xxxģ: also need remove database manage plugn if U usedĥ: remove any config for gnu-global, like set cscopeprg=gtags-cscopeĦ: remove autoload_cscope.vim if u have install this script CTAGS GEDIT UPDATEGlobal support incremental update mode,cscope do not support Now we support Linux and MAC OS, do not support Windows, caused by windows do not support 'find'Ĭommand, If u want to use it at windows env, U need to expand Windows sopport unix-like 'find'įor cscope we support two backend, cscope and gloabl, default use global If we can not match kernel tree we will use 'find' command to gen needed files.More info: man find We can intelligent detect it is a Linux kernel tree, then call make cscope for genĪlpha', 'arm', 'avr32', 'c6x', 'frv', 'hexagon', 'm68k', 'microblaze', 'mn10300', #easy create new cscope and ctags databse by command :CreatetagĬan intelligent identificate Linux kernel dir eg:Įven U eidt at subdir like vim kirkwood-cpufreq.c at dir kernel/drivers/cpufreq We also add a command :Manualremovedatabase Which porvide a chance to update database onetimeĮspiaclly, user disable g:auto_run_function_when_cscope_connect = 0 We also add a command :Manualupdatedatabaseonetime To start or stop auto update database manually Let g:auto_run_function_when_cscope_connect = 0 If U do not want to auto update database during edit you file Let g:check_update_when_first_load_vim = 0 If U do not want vim check database update when firstly load vim Folding for selectively hiding regions of text.Brief (Va.0) #auto load cscope database and ctags databse, even diffrect project swicthĪfter run buffer write command eg, w, we will try update database if already connect a cscope database,Īlso we can check file update(may casued by git pull, add new file or edit by notepad).Supports a large number of character encodings including UTF8 and Unicode.Auto indent, and syntax highlighting for more than 200 languages.Installed from within jEdit using the "plugin manager" feature. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |