Qusic / atom-youcompleteme

YouCompleteMe for Atom Editor
MIT License
82 stars 34 forks source link

go-to-definition error #76

Closed JoeyBoyi closed 7 years ago

JoeyBoyi commented 7 years ago

Can't jump to definition or declaration. Traceback (most recent call last): File "/home/xw/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 861, in _handle return route.call(args) File "/home/xw/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 1734, in wrapper rv = callback(*a, *ka) File "/home/xw/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/watchdog_plugin.py", line 109, in wrapper return callback( args, kwargs ) File "/home/xw/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/hmac_plugin.py", line 72, in wrapper body = callback( *args, **kwargs ) File "/home/xw/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/handlers.py", line 82, in RunCompleterCommand request_data ) ) File "/home/xw/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 336, in OnUserCommand return command( self, request_data, arguments[ 1: ] ) File "/home/xw/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/cpp/clang_completer.py", line 125, in self._GoTo( request_data ) ), File "/home/xw/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/cpp/clang_completer.py", line 200, in _GoTo raise RuntimeError( 'Can\'t jump to definition or declaration.' ) RuntimeError: Can't jump to definition or declaration.

Qusic commented 7 years ago

Mostly an issue with ycmd or its configuration. Go-to sometimes doesn't work indeed even in vim.