Closed micbou closed 8 years ago
Sorry for the delayed response.
@homu r+
Reviewed 4 of 4 files at r1. Review status: all files reviewed at latest revision, all discussions resolved.
Comments from Reviewable
:pushpin: Commit 3a537c2 has been approved by vheon
It looks like homu messed up the commit description because of my GPG signature. What's strange is that it doesn't happen on YCM and ycmd repositories. Did you configure something differently with the bot?
Yes, I don't want the merge bubble, maybe is that 😕
This bug is reported on homu repository but is unlikely to be fixed. I could disable my signature for this repository to avoid that.
Are you going to amend the commit message? I am asking that because I have other PRs planned and it would be better to fix the message before if you decide to do so.
Yes, I hope not to break anyone (I don't think anyone else uses this but who knows 😜 )
I've amended the commit message and force pushed.
This PR adds a new endpoint that exposes the
jedi.names
method from Jedi API. I am going to use it in ycmd to extract all modules imported in current file and preload them as proposed in this ycm-users thread. It may also be useful for semantic highlighting.I did some refactoring by adding a
_FormatCompletions
function similar to its definitions counterpart and I replaced thehas_length
+has_items
combination bycontains
orcontains_inanyorder
in the tests since this is equivalent.I updated the examples in the README to reflect the current structures used in the code. I also replaced the single quotes by double quotes as single quotes are not valid JSON.
This change is