пытаюсь использовать вим как IDE (для php =) куру доку в нете http://www.koch.ro/blog/index.php?/archive...-a-PHP-IDE.html не выходит 4й пункт: Tag Browsing with cscope (Identifier lookup) Just like in a big IDE like eclipse, you can easily jump to the definitions of functions and classes. Vim integrates cscope for the job (apt-get install cscope). Build the taglist Vim needs an index file for all identifiers. This file is build with cscope. First we create the file cscope.files which tells cscope which file to scan. In our case this are all files called *.php. The -b option tells cscope to use the list from cscope.files: cd project_dir find . -name '*.php' > ./cscope.files cscope -b rm ./cscope.files The shell commands from above left a file cscope.out in project_dir. Now we tell vim to use the generated tagfile: cscope add project_dir/cscope.out project_dir Note that you have to add the project_dir as the second argument to cscope add! install exuberant-ctags ( >= Version 5.7 ) and the taglist vim plugin. On debian you go with: apt-get install exuberant-ctags vim-addons install taglist если точнее то меня вводит в заблуждение фраза веделенная жирным шрифтом, пробывал запускать как :!cscope add pr_di/cscope.out pr_dir но, 1 - изходя из записи cscope.out находиться в той же дириктории что и шелл 2 - запускаю из шела #cd ..; cscope add pr_di/cscope.out pr_dir - выводит сообщение об ошибке 3 - если из шела, то афтар забыл написать, так как потом использовать эту ф-ть cscope в vim =) буду очень признателен за ответы

Ответ на:
комментарий
от tailgunner

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Как правильно собрать Vim? (2015)
- Форум ffmpeg-php ubuntu (2007)
- Форум Установка PHP 5.3 для Ubuntu 14.04 Нужна помощь по установке (2017)
- Форум Makehuman на Debian (2017)
- Форум apt сломался You might want to run 'apt-get -f install' to correct these (2020)
- Форум OpenVPN Debian 9 server problem (2019)
- Форум debian + зависимости (2007)
- Форум First official release of Ceylon IDE (2012)
- Форум Установка PHP 5 на Ubuntu 20.04 (2022)
- Форум Последнее огорчение от генты(64) - скайп vs GTK (2013)