(Python) YouCompleteMe is ignoring my code and pip packages

不羁岁月 提交于 2019-12-23 10:09:35

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!