eye.helpers.ycm.daemon module¶
YouCompleteMe daemon control module
- class eye.helpers.ycm.daemon.Ycm(**kwargs)[source]¶
Bases:
QObject
,CategoryMixin
YCMD instance control
- CHECK_REPLY_SIGNATURE = True¶
- IDLE_SUICIDE = 120¶
Maximum time after which ycmd should quit if it has received no requests.
A periodic ping is sent by Ycm objects.
- TIMEOUT = 10¶
- YCMD_CMD = ['ycmd']¶
Base ycmd command.
Useful if ycmd is not in PATH or set permanent arguments
- addr = <Mock object>¶
Address of the ycmd server.
- check_reply(reply)[source]¶
Check the ycmd reply is a success.
Checks the reply has a HTTP 200 status code and the signature is valid. In case of error, raises a
ServerError
.
- port = <Mock object>¶
TCP port of the ycmd server.
- proc_finished(code, status)[source]¶
This slot has signature
proc_finished(int, QProcess.ExitStatus)
.
- ready = Signal()¶