을 찾을 수 없습니다 그러나 나는 그것이 test.cpp
YouCompleteMe 내가 현재 너무</p> <pre><code>project | |----src/ | | | |----test.cpp | |----include/ | | | |----test.hpp | |----.ycm_extra_conf.py </code></pre> <p>로 프로젝트 구성되어있다 그 지역의 헤더 파일
#include "test.hpp"
에 포함 때 YouCompleteMe이 test.hpp
을 인식 얻을 수 없다 이것은 나의 출력이다 :YcmDebugInfo
Printing YouCompleteMe debug information...
-- Client logfile: /tmp/ycm_tcrryhfo.log
-- Server Python interpreter: /usr/bin/python2.7
-- Server Python version: 2.7.14
-- Server has Clang support compiled in: True
-- Clang version: clang version 3.9.1 (tags/RELEASE_391/final)
-- Extra configuration file found and loaded
-- Extra configuration path: /home/jake/project/.ycm_extra_conf.py
-- C-family completer debug information:
-- Compilation database path: None
-- Flags: ['-std=c++11', '-x', 'c++', '-Wall', '-I', 'include', '-isystem', '/usr/include', '-resource-dir=/home/jake/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/ycmd/../clang_includes', '-fspell-checking']
-- Server running at: http://127.0.0.1:59337
-- Server process ID: 21577
-- Server logfiles:
-- /tmp/ycmd_59337_stdout_kndkmx3g.log
-- /tmp/ycmd_59337_stderr__xriaszp.log
있다 어떤 서버 로그 파일에 존재하는 오류 없지만, 클라이언트 로그 파일은 궁극적으로이 시작 몇 가지 오류가있다 :이 모든 것이 제안으로 범위 밖에있는 변수를 제공 할 것입니다하지만 작동하는 것 같군
Traceback (most recent call last):
File "/home/jake/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 214, in HandleServerException
yield
File "/home/jake/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/youcompleteme.py", line 237, in CheckIfServerIsReady
'ready')
File "/home/jake/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 68, in GetDataFromHandler
timeout))
File "/home/jake/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 180, in JsonFromFuture
response = future.result()
File "/usr/lib64/python3.4/concurrent/futures/_base.py", line 402, in result
return self.__get_result()
File "/usr/lib64/python3.4/concurrent/futures/_base.py", line 354, in __get_result
raise self._exception
File "/home/jake/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/unsafe_thread_pool_executor.py", line 43, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/jake/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/home/jake/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/home/jake/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/adapters.py", line 437, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=34155): Max retries exceeded with url: /ready (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f32a77aa048>: Failed to establish a new connection: [Errno 111] Connection refused',))
다른 것보다를 자동 완성 (다른 클래스의 멤버 변수 제안).
나는 전체 설치 가이드를 따라 내가이 원인을 무엇 아무 생각이/usr/lib/libclang.so
내 외부 연타를 설정합니다.