Hi,

i am trying furthermore to replace netbeans by vim, cause netbeans
becomes so slow on handling massive files.
However, i got very far with nerdtree, taglist and ctags, but there
are two things that bug me:

1. When i parse my code with ctags it seem to work well, and i can
omnicomplete and thing, despite the static methods.
When i do a
$foo = new FooBar();
$foo->CTRL-X CTRL-O
it works well and shows me the methods from FooBar();

but if i try the same with:
FooBar::CTRL-X CTRL-O
it starts searching through the whole tag file, which is not helpful,
especially when it displays like a million functions.

2. When i try to follow a method with CTRL+] it works, but jumps into
the first found method.
For instance, almost every class has a method called:
fetchById()
and i want to get into the class that is being called and not the
first found one.

This is what i called to generate my ctags file:
exec ctags-exuberant -f ~/.vim/mytags/zmuek -h ".php" -R
--exclude="\.svn" --totals=yes --tag-relative=yes --PHP-kinds=+cf
--regex-PHP='/abstract class ([^ ]*)/\1/c/' --regex-PHP='/interface
([^ ]*)/\1/c/' --regex-PHP='/(public |static |abstract |protected
|private )+function ([^ (]*)/\2/f/'

Is there a way to work around that limitations?

Greetings
Sven Richter

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to