ãVimãIDEãšããŠäœ¿çšããããšãããããã¯ã«é¢ããèšäºããããããããšããäºå®ã«ãããããããçµæã¯ç§ãæºè¶³ãããŸããã§ããã ãããžã§ã¯ãå
ã®ãã¹ãŠã®ãã¡ã€ã«ã«å¯ŸãããŠãŒã¶ãŒïŒã€ãŸããç§ïŒã®èªåã¿ã°çæãæ¬åœã«äžè¶³ããŠããããããžã§ã¯ããã¡ã€ã«ã¯åããã£ã¬ã¯ããªãšãã®ãµããã£ã¬ã¯ããªã«ããå¿
èŠã¯ãªãããã¡ã€ã«ã®ãªã¹ããäœæããã®ã¯ç°¡åã§æ¥œããã¯ãã§ãã
ããã«ããããžã§ã¯ãã1å°ã®ã³ã³ãã¥ãŒã¿ãŒããå¥ã®ã³ã³ãã¥ãŒã¿ãŒã«ç°¡åã«è»¢éã§ããå¿
èŠããããç¹å®ã®ãããžã§ã¯ããã£ã¬ã¯ããªã«é¢é£ä»ããããã¹ãã§ã¯ãããŸããã
å¿
èŠãªæ©èœãåãããã©ã°ã€ã³ã®é·æéã®æ€çŽ¢ã¯å€±æããããããã®ãããªãã©ã°ã€ã³ãäœæããããšã«ããŸããã ç§ã¯ããã
ã€ã³ãã¯ãµãŒãšåŒã³ãŸããã
UPDïŒçŸåšãèšäºã¯å°ãæ代é
ãã§ãã æéããããšãã«æŽæ°ããŸãã ãã ããäž»ãªãã®ã¯æ©èœããäžäœäºææ§ãæäŸãããŸãããæ©èœãããå®å
šã«äœ¿çšããã«ã¯ã
help indexer-syn-change-4.10ãèªãããšããå§ãããŸãã
ãã©ã°ã€ã³ã¢ãŒã«ã€ãã«ã¯ã次ã®ãã¡ã€ã«ãšãã©ã«ããŒãå«ãŸããŠããŸãã
plugin/indexer.vim
doc/indexer.txt
åäœããã«ã¯ã
ctagsãå¿
èŠã§ãããããããé©çšããæ¹ãè¯ãã§ãã ææ°ããŒãžã§ã³5.8ïŒãããã®è¡ã®å·çæç¹ïŒã§ã¯ãéåžžã«äžå¿«ãªãã°ããããŸãã ãã°ã®è©³çŽ°ãèªãã§ã
ããããããããããŠã³ããŒãããŠ
ãã ãã ã
ãŸã第äžã«ããã©ã°ã€ã³ã䜿çšããããã®2ã€ã®ãªãã·ã§ã³ããããŸãïŒçŽ æŽããã
ãããžã§ã¯ããã©ã°ã€ã³ãžã®è¿œå ãšããŠããŸãã¯ãããšã¯å¥ã«ã
ãããžã§ã¯ããã©ã°ã€ã³ã«é¢ããããã€ãã®èšèïŒãã®ãã©ã°ã€ã³ã䜿çšãããšããããžã§ã¯ããšãããžã§ã¯ãå
ã®ãã¡ã€ã«ã®ãªã¹ããç°¡åã«ç®¡çã§ããŸãã èŠèŠçã«ã¯ãããã¯ãããžã§ã¯ãããµããããžã§ã¯ããããã³ãã¡ã€ã«ã®ããªãŒæ§é ãæã€ãŠã£ã³ããŠã§ãã ãããžã§ã¯ããæå°åã§ããŸãã ãã¹ãŠã®ãããžã§ã¯ããã¡ã€ã«ã«å¯ŸããŠgrepãŸãã¯vimgrepãå®è¡ããçµæãã¯ã€ãã¯ãã£ãã¯ã¹ã§è¡šç€ºã§ããŸãã ãããžã§ã¯ãã§ãŠã£ã³ããŠã衚瀺/é衚瀺ã«ããã«ã¯ãããã€ãã®ããŒïŒããšãã°ãF9ïŒãããããããšäŸ¿å©ã§ãã
ãã®ãã©ã°ã€ã³ã®è©³çŽ°ãªèª¬æã¯ãã®èšäºã®ç¯å²ãè¶
ããŠããŸããããã«ãGoogleã®ã¯ãšãªãvim projectãã¯ããã«å€ãã®ãªã³ã¯ãæäŸããŸãã
ããã§ãªããã³ãã ãããŠãã¡ããããã©ã°ã€ã³ãã€ã³ã¹ããŒã«ããåŸã®ãããžã§ã¯ããæ¯æŽããŸãã
ãªãã·ã§ã³1.ãããžã§ã¯ããã©ã°ã€ã³ãžã®è¿œå ãšããŠäœ¿çš
ãã®ãããæãåçŽãªãªãã·ã§ã³ãæ€èšããŠãã ããããã§ã«ãããžã§ã¯ããã©ã°ã€ã³ã䜿çšããŠãããããã©ã«ãã®ãããžã§ã¯ããã¡ã€ã«ã/ .vimprojectsã䜿çšããŠããŸãã ãã®å Žåãã€ã³ãã¯ãµãŒãã©ã°ã€ã³ã®ã»ããã¢ããã¯éåžžã«ç°¡åã§ããã¢ãŒã«ã€ãã®å
容ã$ HOME / .vimïŒãŸãã¯åæ§ã®ãã£ã¬ã¯ããªïŒã«è§£åããVimãéãïŒéããŠããå ŽåïŒãã/ .vimprojectsã®ä»»æã®ãããžã§ã¯ãã®ãã£ã¬ã¯ããªããèµ·åããŸãã ã ãããžã§ã¯ãã®äžéšã§ãããã¡ã€ã«ãç°¡åã«éãããšãã§ããŸãã
ã€ã³ãã¯ãµãŒã¯ããã®ãããªãããžã§ã¯ãã®äžéšã§ãããã¡ã€ã«ãéãããããšãå€æãããã®ãããžã§ã¯ãã®äžéšã§ãããã¹ãŠã®ãã¡ã€ã«ã®ã€ã³ããã¯ã¹ãäœæãã察å¿ããå€ãVimïŒã¿ã°ããã³ïŒãã¹å€æ°ã«èšå®ããŸãã
ãããžã§ã¯ãã®äžéšã§ãããã¡ã€ã«ãä¿åãããšãã¿ã°ã¯èªåçã«æŽæ°ãããŸãã
ããã§ãã«ãŒãœã«ãé¢æ°ãå€æ°ãªã©ã®ååã«ç§»åãã
g]ãŸãã¯
Ctrl-]ãæŒããšïŒããããªéãããããŸãïŒããã®é¢æ°ã®å®£èšã«ç§»åã§ããŸãã
Ctrl-tã§å
ã«æ»ããŸãã C / C ++ã§éçºããŠããå Žåã¯ãomnicppcompleteããã³code_completeãã©ã°ã€ã³ãæ¥ç¶ãããstructure_nameããŸãã¯ãstructure_name->ããšå
¥åãããšããã®æ§é ã®èŠçŽ ãéžæãããããã¢ããã¡ãã¥ãŒã衚瀺ããããfunction_nameïŒã TabããŒãæŒããšããã®é¢æ°ãåãå
¥ãããã¹ãŠã®ãã©ã¡ãŒã¿ãŒãèªå眮æãããŸãããå°ãæ°ãæ£ããŸããã
ãã¹ãŠæ¬¡ã®ããã«ãªããŸãã
ãããžã§ã¯ããã©ã°ã€ã³ã䜿çšããŠããããå¥ã®ãããžã§ã¯ããã¡ã€ã«ãããå Žåã¯ã_vimrcã§æå®ã§ããŸãã
let g:indexer_projectsSettingsFilename = /path/to/my/.vimprojects
å°ãåŸã§ãªãã·ã§ã³ã®å®å
šãªãªã¹ããæäŸããŸãã
ã芧ã®ãšããããããã®ãã©ã°ã€ã³ã®æãæäœãããšéåžžã«äŸ¿å©ã§ãããããžã§ã¯ãã§ã¯ãããžã§ã¯ãã管çã§ããã€ã³ãã¯ãµãŒãã¿ã°ã®æŽæ°ãåŠçããŸãã
äœããã®çç±ã§ãããžã§ã¯ãã䜿çšããããªãå Žåã¯ã
ãªãã·ã§ã³2.ãããžã§ã¯ããã©ã°ã€ã³ãªãã§äœ¿çš
ã©ã®ãã¡ã€ã«ãã©ã®ãããžã§ã¯ãã®äžéšã§ããããåäžã®ãã¡ã€ã«ã§èšè¿°ããå¿
èŠããããŸãã ããã©ã«ãã¯ã/ .indexer_filesã§ãã ãã®ãã¡ã€ã«ã®æ§æã¯éåžžã«åçŽã§ãã ããããã説æããæè¯ã®æ¹æ³ã¯äŸã瀺ãããšã§ãïŒ
[CoolProject]
/home/user/myproject/src/*.c
/home/user/myproject/src/*.h
/home/user/myproject/inc/*.h
[AnotherProject]
$HOME/myproject2**/*.c
$HOME/myproject2**/*.h
ãæ³åã®ãšãããããã«CoolProjectãšAnotherProjectã®2ã€ã®ãããžã§ã¯ãããããŸãã
CoolProjectãããžã§ã¯ãã«ã¯ã/ home / user / myproject / srcãã£ã¬ã¯ããªã®ãã¹ãŠã®* .cãã¡ã€ã«ãšã/ home / user / myproject / incããã³/ home / user / myproject / srcã®ãã¹ãŠã®ããããŒãã¡ã€ã«ãå«ãŸããŸãã
AnotherProjectã«ã¯ãã/ myproject2ãã£ã¬ã¯ããªããã³ãã¹ãŠã®ãµããã£ã¬ã¯ããªããã®* .cããã³* .hãã¡ã€ã«ãååž°çã«å«ãŸããŸãïŒã**ãã¯ååž°ã瀺ããŸãïŒã
ã芧ã®ãšããããã¡ã€ã«ãã¹ã§ã¯ã$ HOMEã$ VIMãªã©ããŠãŒã¶ãŒã宣èšãããã®ãå«ãVimå€æ°ã䜿çšã§ããŸãã
UPD ïŒããŒãžã§ã³1.5ã§ã¯ã
torkveãŠãŒã¶ãŒã®ãªã¯ãšã¹ãã«ããããã®ãã¡ã€ã«ã«å€ãã®ãããžã§ã¯ããå«ããã£ã¬ã¯ããªãèšå®ããæ©èœãè¿œå ãããŸããã å€æ°ã®ãããžã§ã¯ããå«ãã/ã¯ãŒã¯ã¹ããŒã¹ãã£ã¬ã¯ããªãããããããžã§ã¯ãã®ãªã¹ããé »ç¹ã«å€æŽããããšããŸãã æ¯åã.indexer_filesãã¡ã€ã«ã®ç·šéã¯é
延ããŸãã 次ã«ã次ã®ãããªãã®ãæå®ã§ããŸãã
[PROJECTS_PARENT filter="*.c *.h *.cpp"]
~/workspace
ããŒã¯ãŒãã¯PROJECTS_PARENTã§ãã ã€ã³ãã¯ãµãŒã¯ã/ã¯ãŒã¯ã¹ããŒã¹å
ã®åãã©ã«ããŒãããªã¹ããããã¿ã€ãã®ãã¡ã€ã«ãå«ãåå¥ã®ãããžã§ã¯ããšèŠãªããŸãã
ä»ã®ãã¹ãŠã®ç¹ã§ãã€ã³ãã¯ãµãŒã¯ãããžã§ã¯ããšãŸã£ããåãããã«æ©èœããŸãïŒVimããããžã§ã¯ããã£ã¬ã¯ããªããå®è¡ãããšããã®ãããžã§ã¯ãã®ãã¹ãŠã®ãã¡ã€ã«ã®ã¿ã°ãçæããããã®ãããžã§ã¯ãã®ãã¡ã€ã«ãä¿åããããšãã¿ã°ãæŽæ°ãããŸãã
ããã§ããããžã§ã¯ããäœæããããã«ãã¡ã€ã«ãè¿œå ããŠããããã®ã€ã³ããã¯ã¹ã®äœææ¹æ³ãå¿ããããšãã§ããããã«ãªããŸããã ãã£ãïŒ
ããããããã¯ç§ã«ãšã£ãŠååã§ã¯ãããŸããã§ããã
å®éã®ãšããããããžã§ã¯ããã¡ã€ã«ãç°ãªãå Žæã«ããå Žåã¯æ°ã«å
¥ããªããšããããšã§ãïŒè€æ°ã®ãããžã§ã¯ãã§å
±æãããã©ã€ãã©ãªãé€ããŸããå®éãã©ã€ãã©ãªã¯å¥ã
ã®ãããžã§ã¯ãã§ãïŒã ç§ãã¡ãæ€èšããã±ãŒã¹ã§ã¯ããããžã§ã¯ãã¯1ã€ã®ãã©ã«ããŒã«ããããããžã§ã¯ãã®èª¬æãå«ããã¡ã€ã«ïŒ.vimprojectsãŸãã¯.indexer_filesïŒã¯å¥ã®ãã©ã«ããŒïŒããŒã ïŒã«ãããŸãã
ã€ãŸãããããžã§ã¯ãããšã«ç¬èªã®.vimprojectsãã¡ã€ã«ãå¿
èŠã§ãããã®ãã¡ã€ã«ã¯ããããžã§ã¯ãèªäœã®ãã©ã«ããŒã«ãããå®éã«ã¯ããã®ãããžã§ã¯ãã®ã¿ã®èª¬æããããŸãã ãããžã§ã¯ãã«ãã£ãŠã¯ããã®ãããžã§ã¯ãã«åºæã®èšå®ãããŒãããå¿
èŠããããŸãã
ãã®åé¡ã次ã®ããã«è§£æ±ºããŸããããããžã§ã¯ãã®ã«ãŒããã©ã«ããŒã«ããã©ã«ã㌠".vimprj"ïŒååã¯å€æŽå¯èœïŒãäœæãããããžã§ã¯ãåºæã®èšå®ã§ãã¡ã€ã«ãé
眮ããŸãã ãã®äžã«.vimprojectsããããŸãã Vimãèµ·åãããšãã€ã³ãã¯ãµãŒã¯ãŸãçŸåšã®ãã£ã¬ã¯ããªã§ãã®ã.vimprjããã©ã«ããŒãæ¢ãããªãå Žåã¯æ¬¡ã®ã¬ãã«ã«é²ã¿ãŸãã ååž°ã®æ·±ãã¯å€æŽã§ããŸããããã©ã«ãã§ã¯10ã§ãã
ã.vimprjããã©ã«ããŒãèŠã€ãã£ãå Žåãã€ã³ãã¯ãµãŒã¯ã°ããŒãã«å€æ°$ INDEXER_PROJECT_ROOTã宣èšããŸããããã¯ããæ³åã®ãšããããããžã§ã¯ãã®ã«ãŒããã©ã«ããŒãžã®ãã¹ã瀺ããŸãã ã.vimprjããã©ã«ãã§ã¯ãªããããvimprjããååšãããã©ã«ãã ãã®ãã£ã¬ã¯ããªã®ãã¹ãŠã®* .vimãã¡ã€ã«ãèµ·åãããç¹å®ã®èšå®ãèšå®ã§ããŸãã ãã®ãããªsett.vimãã¡ã€ã«ã®äŸã次ã«ç€ºããŸãã
" .vimprj
let s:sPath = expand('<sfile>:p:h')
" indexer , .vimprj
let g:indexer_projectsSettingsFilename = s:sPath.'/.vimprojects'
" project , .vimprj
" : project.
" project.vim,
"
let g:proj_project_filename=s:sPath.'/.vimprojects'
" , ,
let &makeprg = 'pic30-gcc -mcpu=24HJ128GP504 -xc -c "%:p" -o"%:t:ro" -I"'.$INDEXER_PROJECT_ROOT.'\src\utils" -I"'.$INDEXER_PROJECT_ROOT.'\src\app" -g -Wall -mlarge-code -mlarge-data -O1'
ãŸãããããžã§ã¯ããã¡ã€ã«.vimprojectsã§ã¯ããããžã§ã¯ããžã®çµ¶å¯Ÿãã¹ã䜿çšããŸããããå€æ°$ INDEXER_PROJECT_ROOTã眮ãæããŸãã ããã§ããããžã§ã¯ããã©ã«ããŒãä»»æã®å Žæã«ç§»åã§ããŸãããããã«ããŠãããã¹ãŠã®ãã¹ãæ£ãããªããã¿ã°ãçæãããŸãã ããã¯ç§ãéæãããã£ããã®ã§ãã
ããã€ãã®è©³çŽ°ã
ãããžã§ã¯ããã©ã°ã€ã³ãã/ .vimprojects以å€ã®ãããžã§ã¯ããã¡ã€ã«ãæå®ããæ¹æ³ã«ã€ããŠã
ãã©ã°ã€ã³ã®äœæè
ã§ããAric BlumerãæäŸããå¯äžã®å¯èœæ§ã¯ãVimãèµ·åãããã³ã«ã³ãã³ã "ïŒProject /path/to/my/.vimprojects"ãäžããããšã§ãã ãã¡ãããããŒã«ãããã³ã°ããããšãã§ããŸãããããã§ããæŸèæãã§ãããäžäŸ¿ã§ãããã®ããŒãæŒãã®ãå¿ããŠããŸãå¯èœæ§ããããŸãã ãªãã·ã§ã³ã®ããŒ+ "Project /path/to/my/.vimprojects"ã䜿çšããŠvimãå®è¡ã§ããŸãããç§ãããã奜ãã§ã¯ãããŸããã ç§ã¯ãã©ã°ã€ã³ã®äœæè
ãšé£çµ¡ãåããŸãããã圌ã¯ç§ããããå¿
èŠãšããå¯äžã®äººã§ããã圌ã¯äœãå€ããªããšèšã£ãã ãããã£ãŠããããžã§ã¯ããã¡ã€ã«ã§å€æ°ãæå®ã§ããããã«ãproject.vimãå€æŽããæ¹æ³ã®ã¿ã説æããŸãã 1è¡ã§ã¯ãªãã5è¡ãæ¿å
¥ããå¿
èŠããããŸãã
äžèšã¯ãããžã§ã¯ã1.4.1ïŒãã®èšäºãæžããŠããæç¹ã§ã®ææ°ããŒãžã§ã³ïŒã«åœãŠã¯ãŸããŸãã
è¡1272ã«ç§»åããŸããã³ãã³ãã¯1ã€ã ãã«ããå¿
èŠããããŸãã
Project
ãã®è¡ã次ã®ã³ãŒããããã¯ã«çœ®ãæããå¿
èŠããããŸãã
if !exists("g:proj_running") && exists('g:proj_project_filename')
exec('Project '.g:proj_project_filename)
else
Project
endif
ããã§ãå€æ°gïŒproj_project_filenameãæå®ãããšãã/ .vimprojectsã®ä»£ããã«ãã®å€ã䜿çšãããŸã
UPD ïŒIndexerããŒãžã§ã³3.0ã§ã¯ã2ã€ã®ãæ©èœããéåžžã«éèŠã«èŠããŸããã
1.ã¿ã°ã¯ããã¯ã°ã©ãŠã³ãã§çæãããŸãã ã€ãŸãããããžã§ã¯ãã®ãµã€ãºã«é¢ä¿ãªãããããžã§ã¯ãå
šäœã®ã€ã³ããã¯ã¹ãäœæããããŸã§åŸ
ã€å¿
èŠã¯ãããŸããã ãã ãããµãŒããŒåã空ã§ãªãå Žåã«ã®ã¿æ©èœããŸãïŒïŒhelp servernameïŒã ïŒvimã§ã¯ãªãïŒgvimãå®è¡ãããšãããèªäœãããã©ã«ãã®ãµãŒããŒåãGVIMããèšå®ããŸããã€ãŸããgvimã§ã¯ãããã¯ã°ã©ãŠã³ãã¿ã°ã®çæã¯ãã®ãŸãŸäœ¿çšã§ããŸãã ã³ã³ãœãŒã«vimã䜿çšããŠãã¿ã°ãããã¯ã°ã©ãŠã³ãã§çæããå Žåã¯ã次ã®ãããªãã®ã§å®è¡ããå¿
èŠããããŸãã
$ vim --servername MY_SERVER
2. 1ã€ã®vimã»ãã·ã§ã³ã§ç°ãªããããžã§ã¯ãã®ãã¡ã€ã«ãéãããšãã§ããå¿
èŠãªãã¹ãŠã®ãããžã§ã¯ãã«å¯ŸããŠã¿ã°ãæ£ããçæãããŸãã ç°ãªããããžã§ã¯ãã®ã¿ã°ã¯æ··åšããŸããã ããã¯ãè€æ°ã®ãããžã§ã¯ããåæã«åŠçããå¿
èŠãããå Žåã«éåžžã«äŸ¿å©ã§ãã ïŒããšãã°ãçžäºäœçšããè€æ°ã®ãšã³ãã£ãã£ã®ãããžã§ã¯ãïŒ
ã€ã³ãã¯ãµãŒãã©ã°ã€ã³ãªãã·ã§ã³
gïŒindexer_lookForProjectDir ïŒããã©ã«ãïŒ1ïŒ
1ã®å Žåããã©ã°ã€ã³ã¯ã.vimprjããã©ã«ããŒãæ€çŽ¢ããŸãã
gïŒindexer_dirNameForSearch ïŒããã©ã«ãïŒ ".vimprj"ïŒ
ãããžã§ã¯ãèšå®ãã£ã¬ã¯ããªã®åå
gïŒindexer_recurseUpCount ïŒããã©ã«ãïŒ10ïŒ
ãã®ãã©ã«ããŒãèŠã€ããããã®ååž°ã®æ·±ã
gïŒindexer_projectsSettingsFilename ïŒããã©ã«ãïŒ "ã/ .vimprojects"ïŒ
ãããžã§ã¯ãã®ãã¹ãšãã¡ã€ã«åïŒãããžã§ã¯ããã©ã°ã€ã³ãã¡ã€ã«ïŒ
gïŒindexer_indexerListFilename ïŒããã©ã«ãïŒ "ã/ .indexer_files"ïŒ
ãããžã§ã¯ãã®ãã¹ãšãã¡ã€ã«åïŒãã€ãã£ãã€ã³ãã¯ãµãŒãã©ã°ã€ã³åœ¢åŒïŒã
äž¡æ¹ã®ãã¡ã€ã«ãååšããå ŽåïŒã.indexer_filesããšã.vimprojectsãã®äž¡æ¹ïŒã. indexer_filesã®ã¿ã䜿çšãããŸãã å¥ã®ãã¡ã€ã«ã¯ç¡èŠãããŸãã çŸåšäœ¿çšãããŠãããã¡ã€ã«ã確èªããã«ã¯ãIndexerInfoã³ãã³ãã䜿çšã§ããŸãã ã€ã³ãã¯ãµãŒãã©ã°ã€ã³ã®ã³ãã³ãã«ã€ããŠã¯ã以äžã§è©³ãã説æããŸãã
gïŒindexer_projectName ïŒããã©ã«ãïŒ ""ïŒ
ãããžã§ã¯ããã¡ã€ã«ããèªã¿åããããžã§ã¯ãã®ååã ãããžã§ã¯ãã®ååã瀺ãããŠããªãå Žåãä»»æã®ãããžã§ã¯ãã䜿çšãããŸãã
gïŒindexer_enableWhenProjectDirFound ïŒããã©ã«ãïŒ1ïŒ
1ã®å Žåããããžã§ã¯ããã¡ã€ã«ããããã£ã¬ã¯ããªããVimãèµ·åããå Žåãã€ã³ãã¯ãµãŒã¯ãããžã§ã¯ããã¡ã€ã«ã«ã€ã³ããã¯ã¹ãä»ããŸãã
0ã®å Žåããããžã§ã¯ãã«å«ãŸãããã¡ã€ã«ãéãããå Žåã«ã®ã¿ããã¡ã€ã«ã®ã€ã³ããã¯ã¹ãäœæãããŸãã
gïŒindexer_tagsDirname ïŒããã©ã«ãïŒ ""ïŒ
ã¿ã°ãä¿åããããã®ãã£ã¬ã¯ããªã
ãã®ãªãã·ã§ã³ã空ã®å ŽåïŒããã©ã«ãïŒãã¿ã°ã®ãããã©ã«ããŒã®ååã¯æ¬¡ã®ããã«éžæãããŸãã
ãã¡ã€ã«ã/ .indexer_filesã䜿çšãããšããŸãã 次ã«ãã¿ã°ã¯ã/ .indexer_files_tags / project_nameãã©ã«ããŒã«ä¿åãããŸããããã§ãproject_nameã¯ãããžã§ã¯ãã®ååã§ãã
ã/ .vimprojectsãã¡ã€ã«ã䜿çšããŠããå Žåã 次ã«ãã¿ã°ã¯ã/ .vimprojects_tags / project_nameãã©ã«ããŒã«ä¿åãããŸããããã§ãproject_nameã¯ãããžã§ã¯ãã®ååã§ãã
ãã®ãªãã·ã§ã³ã空ã§ãªãå Žåããã¹ãŠã®ã¿ã°ãã¡ã€ã«ã¯æå®ããããã©ã«ããŒã«ä¿åãããŸãã
ãã®ãªãã·ã§ã³ã¯ç©ºçœã®ãŸãŸã«ããããšããå§ãããŸãã
gïŒindexer_ctagsCommandLineOptions ïŒããã©ã«ãïŒ "--c ++-kind = + p + l --fields = + iaS --extra = + q"ïŒ
ctagsãèµ·åãããªãã·ã§ã³ã
gïŒindexer_ctagsJustAppendTagsAtFileSave ïŒããã©ã«ãïŒLinuxã®å ŽåïŒ1ãWindowsã®å ŽåïŒ0ïŒ
1ã®å Žåããããžã§ã¯ããããã¡ã€ã«ãä¿åãããšããã®ãã¡ã€ã«ã«å¯ŸããŠã®ã¿ã-aãããŒïŒè¿œå ïŒã䜿çšããŠctagsãèµ·åãããŸãã
ïŒããã§ã
gïŒindexer_useSedWhenAppendãªãã·ã§ã³ã«ã泚æãæãå¿
èŠããã
ãŸã ïŒã€ã³ã¹ããŒã«ããããšãã¿ã°ãæŽæ°ããåã«ãSedãŠãŒãã£ãªãã£ã䜿çšããŠãã®ãã¡ã€ã«ããå€ãã¿ã°ãåé€ãããŸãïŒ
0ã®å Žåããããžã§ã¯ããããã¡ã€ã«ãä¿åãããšãã¿ã°ã¯å®å
šã«æŽæ°ãããŸãã
ããã€ãã®å°é£ããããŸãã æ²ãã£ãŠä»äºãèŠã€ããããšãã§ããSed for Windowsã®ãã¹ãŠã®ããŒãžã§ã³ã ããã§ã¯ãããã®ã°ãªããã«ã€ããŠã¯èª¬æããŸããããããããæ£ããåäœãããããšãã§ããªãã£ããšèšãã ãã§ãã ãŸããLinuxã§ã¯ããŸãæ©èœããŸãã ãããã£ãŠã劥åããå¿
èŠããããŸãããLinuxã§ã¯ãããã©ã«ãã§ã¯ãä¿åããããã¡ã€ã«ã«å¯ŸããŠã®ã¿ã¿ã°ãæŽæ°ãããSedã¯ã¿ã°ãã¡ã€ã«ãããã¬ããŒãžããåé€ããããã«äœ¿çšãããŸãã Windowsã§ã¯ãä¿åãããã³ã«ãã¹ãŠã®ã¿ã°ãæŽæ°ãããŸãã å®éãã€ã³ãã¯ãµãŒ3.0ã§ã®ããã¯ã°ã©ãŠã³ãã¿ã°çæã®åºçŸã«ãããããã¯åé¡ã§ã¯ãªããªããŸããã
ã€ã³ãã¯ãµãŒãã©ã°ã€ã³ã³ãã³ã
ïŒIndexerInfo
ãã©ã°ã€ã³ã®çŸåšã®ç¶æ
ã«é¢ããæ
å ±ã衚瀺ããŸããã©ã®ãããžã§ã¯ããã¡ã€ã«ã䜿çšãããŠããããã€ã³ããã¯ã¹ãäœæãããŠãããã¡ã€ã«ã®æ°ãèŠã€ãããªãã£ããã¡ã€ã«ã®æ°ãªã©ã
äœããã®çç±ã§ãã©ã°ã€ã³ãæåŸ
ã©ããã«æ©èœããªãå Žåãæåã«è¡ãããšã¯ãã®ã³ãã³ããäžããããšã§ãã
ïŒIndexerRebuild
ãããžã§ã¯ãã«å«ãŸãããã¹ãŠã®ãã¡ã€ã«ã®ã¿ã°ãæŽæ°ããŸãã
ãããŠæåŸã«ããªã³ã¯
ã€ã³ãã¯ãµãŒãã©ã°ã€ã³ããŒãžïŒ
http ://www.vim.org/scripts/script.php?script_id=3221
ãããžã§ã¯ããã©ã°ã€ã³ããŒãžïŒ
http :
//www.vim.org/scripts/script.php?script_id=69
ããããé©çšãããctagsïŒ
http :
//dfrank.ru/ctags581
ãæž
èŽããããšãããããŸããã