Hacker News new | ask | show | jobs
by syncontrol 4331 days ago
Author of YCM/ycmd here; I'd be happy to answer any questions you might have!
1 comments

Is there a specific API document for ycmd? I tried looking through the code base and did not see anything explicit. For emacs support the implementation will have to be in elisp, so having a python independent way of describing the API would be helpful.
I'm still in the process of writing API docs[1], but I did write a pretty thorough example client[2] that demonstrates how to talk to ycmd. It echos out all the chatter between the client and server and even pretty-prints and syntax-highlights the requests and responses. It should be pretty easy to understand how things work.

[1]: https://github.com/Valloric/ycmd/blob/master/README.md

[2]: https://github.com/Valloric/ycmd/blob/master/examples/exampl...