shrekshen, 您好,ycm跳转定义功能您搞定了麽;我也遇到过无法跳转问题:在c++工程下,没法跳转;RuntimeError: Can't jump to definition.log:142 2017-06-14 18:08:11,518 - INFO - Received command request143 Traceback (most recent call last):144 File "/root/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 861, in _handle145 return route.call(**args)146 File "/root/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 1734, in wrapper147 rv = callback(a, *ka)148 File "/root/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/watchdog_plugin.py", line 109, in wrapper149 return callback( args, *kwargs )150 File "/root/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/hmac_plugin.py", line 72, in wrapper151 body = callback( args, *kwargs )152 File "/root/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/handlers.py", line 83, in RunCompleterCommand153 request_data ) )154 File "/root/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/completer.py", line 336, in OnUserCommand155 return command( self, request_data, arguments[ 1: ] )156 File "/root/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/cpp/clang_completer.py", line 121, in 157 self._GoToDefinition( request_data ) ),158 File "/root/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/../ycmd/completers/cpp/clang_completer.py", line 176, in _GoToDefinition159 raise RuntimeError( 'Can't jump to definition.' )160 RuntimeError: Can't jump to definition.
先按leader件,再按下u 或i 或o