-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Autocomplete in padawan server #22
Comments
hi @Kedra, can you show which version of padawan.php is installed? |
v0.2.1 as used composer global info |
@Kedra are there any messages in vim( |
So I tried saving a file, issue a command and then :messages to scroll to the bottom,
|
hm, can you try to issue completion after |
so I instantiate an object:
and issued a completion on it
nothing completion appeared nor a message while editing also but using
I'm using a laravel project with a Was I doing a wrong generation of index when I done it on the root folder? |
@Kedra I think the problem is not with the index generation, but with vim plugin. It sends wrong column to padawan I guess. Can you try disabling all other plugins and issue completion one more time? |
After disabling every plugin except padawan.vim plugin, |
omg, that's weird. Could you try different cases, like issue completion after |
So without with other plugins, the two cases did returned also a then enabled all plugins and used I am using two versions of x64 Python interpreters (3.5.2 and 2.7.12) for windows to specify since there's a *.py file in the plugin folder of padawan.vim should I include vimrc too? |
I did update again with the latest version of padawan.vim and it still gets errors somehow. |
@Kedra could you try both versions of python? Vim plugin is written with python, so this could be the problem... |
which file/lines or how do I change the python version on the server initialization? (I might say it wrong) |
@Kedra it is in your vim configuration(compilation) |
so I interchange between user path environment between server logs: EDIT: using Vim in 64bit since 32bit doesn't support python+ |
looks like it only has issues with Windows (Vim with both |
@Kedra maybe the problem is connected to windows path names? |
I'll try to resolve it on next week, really wanted to make it work. |
@Kedra thank you, post here any info you'll get. I'm thinking that the problem is not with padawan.vim, but with padawan.php... You can try to log requests that vim sends to padawan by running something like |
I used Here's my test method and results: POST` /complete?column=10&path=C:\Users\kedra\Code\socialnetwork&line=33&filepath=\app\Http\Controllers\UserController.php HTTP/1.1 |
@Kedra are the line and column right? And is path to file ok? And one more thing: after this first part(after User-Agent) there should be file contents |
Yes, issued autocompletion in
|
@Kedra and you saw php contents in ncat? |
actually the overall output was url encoded like this:
|
I just decoded it to make it more readable for this issue. |
@Kedra yep, that looks correct. So, looks like the issue is in the padawan.php, no padawan.vim. Sorry, I have no windows os to test :( |
Thanks, I'll just switch to Linux to ease my workflow problem 👍 |
So I tried removing the symfony component and auto-completing with vim it doesn't show any matchings with either using , ->, :: . I used YouCompleteMe in this case but somehow even with it, no results are found; even renamed new ycm triggers too (Windows x64):
`let g:ycm_semantic_triggers = {
\ 'c' : ['->', '.'],
\ 'ocaml' : ['.', '#'],
\ 'cpp,objcpp' : ['->', '.', '::'],
\ 'perl' : ['->'],
\ 'php' : ['->', '::', '(', 'use ', 'namespace ', ''],
\ 'cs,java,javascript,typescript,d,python,perl6,scala,vb,elixir,go' : ['.'],
\ 'ruby' : ['.', '::'],
\ 'lua' : ['.', ':'],
\ 'erlang' : [':'],
\ }`
The text was updated successfully, but these errors were encountered: