Thursday, June 17, 2010

Re: pycomplete implementation using tags?

No one is having this problem eith the python omnicompeltion????

El 15 de junio de 2010 10:30, Pablo Giménez <pablogipi@gmail.com> escribió:
Hi.
I am having problems using the pycomplete function for omnicompletion.
Basically because the well known problem of failing module load:
http:/http://www.answerspice.com/c119/1543956/vims-omnicompletion-with-python-just-doesnt-work/www.answerspice.com/c119/1543956/vims-omnicompletion-with-python-just-doesnt-work

Is easy to google and find many people having the same problem.
So I was wondering if somebody has begun a project of implementing a pycomplete version but just using tags.
Looking at the info created by ctags is not hard to parse member, classes and functions so I think is viable.
But my knowledge in vim scripting and python parsing are really limited.
I dont know for instance if there is any way in python to parse a file and look for the symbols of any word, so you can guess for instance if the word before of the current . is an object instanced for a knwon class.
Basically if only using python we can get the symbols of a word and then based on this search in the availablr tags to provide a set of options.
I think using an implemetataion based on tags we dont need to load modules and then we can avoid the current problem in pycomplete implementation.
cheers

--
Un saludo
Best Regards
Pablo Giménez



--
Un saludo
Best Regards
Pablo Giménez

--
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

No comments: