4

Looking at the docs for YouCompleteMe it relies on other plugins to do semantic completion for a lot of the languages it has.

Example for python from the docs:

YCM relies on the Jedi engine to provide completion and code navigation. By default, it will pick the version of Python running the ycmd server and use its sys.path. While this is fine for simple projects, this needs to be configurable when working with virtual environments or in a project with third-party packages. The next sections explain how to do that.

Does this mean that I need to have Jedi installed?

What I'm really getting at is does YouCompleteMe come with these semantic plugins or do they need to be installed seperately?

2 Answers 2

3

Indeed you need to install Jedi separately.

In case you have multiple instances of Python installed on your machine, Here are some information from the YouCompleteMe site to help you to install it correctly.

5
  • I'm afraid I don't see your edition. Could you review it? Feel free to ask another question too. Atomic questions are better, they have more chance to get multiple answers and to be reused by others :-) Oct 29, 2023 at 13:04
  • 5
    This ‘accepted’ answer is categorically incorrect YCM will NOT use a Jedi installed separately. I’m the YCM maintainer. Oct 30, 2023 at 7:05
  • @VivianDeSmedt perhaps you could chime in on: vi.stackexchange.com/questions/43410/…
    – Nickotine
    Oct 30, 2023 at 18:14
  • @puremourning also interest to hear your thoughts on: vi.stackexchange.com/questions/43410/…
    – Nickotine
    Oct 30, 2023 at 18:15
  • Vimspector, obviously Oct 31, 2023 at 8:23
5

No, Jedi is bundles with YCM. Just use the installer per its documentation.

1
  • After coming to your channels, I got the right answer. I got confused reading the docs one part says that ycm requires Jedi engine. Then in another part it says that for your supported languages they all come with their respective engines. Should've been more patient.
    – Nickotine
    Oct 30, 2023 at 7:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.