Skip to content
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

Make Youcomplemente work well #9

Open
rafaelrojasmiliani opened this issue Nov 8, 2022 · 0 comments
Open

Make Youcomplemente work well #9

rafaelrojasmiliani opened this issue Nov 8, 2022 · 0 comments

Comments

@rafaelrojasmiliani
Copy link
Owner

rafaelrojasmiliani commented Nov 8, 2022

How does it works?

Youcompleteme uses ycmd, a server that provides APIs for code-completion and other code-comprehension use-cases like semantic GoTo commands (and others).

ycmd is written in c++ and exposed in a python lib called ycm_core with pybind11.

The vim youcompleteme plugin is nothing more than a server which exposes ycmd services to vim. This is written in python see here.

Its main function is here.

Here the server is instantiated, which runs an instance of bottle (handlers.app) which provide the services specified with the decorator @app.post in handlers.py.

In vim the commands are defined here, which calls the libraray python here.

When a type is resolved as an int this link may be helpfull.

Automatic insertion of header here

This may be useful for poblems of not findinf omp.h here also this or simple install libomp-dev

Another solution to the omp.h issue is here

rafaelrojasmiliani pushed a commit that referenced this issue Nov 14, 2022
rafaelrojasmiliani pushed a commit that referenced this issue Nov 17, 2022
rafaelrojasmiliani pushed a commit that referenced this issue Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant