问题
I am using YouCompleteMe on MacVim (vim 7.4 on OSX 10.9.4) for Python code auto-completion.
YCM works perfectly when referencing Python built-in functionality (like os.*
stuff), but it doesn't seem to be able to auto-complete identifiers written by me or from various packages installed using pip.
According to its documentation, YouCompleteMe uses Jedi for Python code completion, and the Jedi GitHub page clearly states that Jedi can auto-complete any code, not just standard library identifiers.
Does anyone have any idea regarding why Jedi isn't picking up any packages or custom code?
来源:https://stackoverflow.com/questions/28339946/python-youcompleteme-is-ignoring-my-code-and-pip-packages