OO code completion : Gives list of methods for the identifier under the cursor for OO languages.
| script karma
Downloaded by 2934
Comments, bugs, improvements
script versions (upload new version)
|NOTE:as of june 17, 2003, this script is no more developped due to lack of time/lack of certain features i miss in ctags. i'll take patches to improve it however, and i have a much more ambitious version (with limited lex/yacc parsing in ruby via racc) on my hard-drive, any contribution is appreciated.
i don't consider it dead, but in hibernation (especially for the ctags features).
This plugin will provide functions to get "code completion" in vim.
it will list all methods for the identifier under the cursor if you call :PossibleFunctions.
when you start typing a method, it will tell you which methods of the relevant class start by what you typed if you call :PossibleCompletions.
it works by using gd and ctags to get the class of the relevant object, and ctags to get the list of functions for this object.
NOTE: this includes inheritance! functions of the class and the parent classes are listed.
normally also only public member functions are listed.
This plugin requires tags to be generated with certain parameters (it
needs information about inheritance and access of members).
You can use the GenerateTags command to generate tags for the current directory.
For now this plugin only supports Java and C++. It should only support OO languages, though I guess it could be used for C structs maybe.
|For now I'm not providing any key shortcuts. (Ideas?).
Source this plugin or copy it to your ~/.vim/plugins, and you have access to the following commands:
please check the documentation in the plugin file itself.
Click on the package to download.
ip used for rating: 188.8.131.52
||* new developer: Luc Hermitte
* support for the 'tags' variable to know where to look for tag files (if you don't have this variable there is a good default)
* vimL cleanups (no more marks, cleaner code, ...)
* some speedups
||* multiple inheritance
* java interfaces
||* Fixes my speed problems with kword (keeps a cache of classes that are not found in the tags file). Now it's instaneous for even very big classes.
* If you use the default command to generate tags, now it's recursive so that not only files from the current directory are parsed by ctags.
any feedback welcome!