RoboWare icon indicating copy to clipboard operation
RoboWare copied to clipboard

1. Move the cursor to class/function/variable name or head file 2. Go to Definition(F12) 3. Pop the tip "No definition found for ..."

Open xiankaichen opened this issue 8 years ago • 6 comments

  • VSCode Version: RoboWare Studio 0.7.2 (124306487bf93b6675696cabf94bcf8580f35b84, 2017-08-24T02:11:58.349Z)
  • OS Version: Linux x64 4.4.0-78-generic
  • Extensions: none

Steps to Reproduce:

  1. Move the cursor to class/function/variable name or head file
  2. Go to Definition(F12)
  3. Pop the tip "No definition found for ..."

xiankaichen avatar Sep 01 '17 02:09 xiankaichen

Can confirm this, and I wonder why ycmd was chosen over the default cpp extension ..

beetleskin avatar Sep 04 '17 14:09 beetleskin

Can confirm this, and I wonder why ycmd was chosen over the default cpp extension ..

Default cpp extension doesn't work well for code auto-completion, ycmd is doing better.

tony-robotics avatar Sep 05 '17 07:09 tony-robotics

Okay, is there a trick to it? Or can you, too, confirm the "No definition found for ..." behaviour? Within my project, it seems to work for some pieces of code and fail for others. Did we miss something in the setup?

Also, this seems to be a duplicate of #21.

beetleskin avatar Sep 05 '17 15:09 beetleskin

also come across the same problem, is there any solution?

JWSLAM avatar Jan 26 '18 07:01 JWSLAM

I aslo have this problem is there some solution? Is this some problem of ycmd? I change the option ycmd.showdebug = true .the ide show internal error:no translation unit

benbenji avatar Jan 28 '18 12:01 benbenji

I have found the solution.I download the ycmd from github and build all the things by myself.Then copy the fold like this cp ~/ycmd /usr/share/roboware-studio/resources/app/extensions/RichardHe.you-complete-me-1.0.36/ycmd and then copy ycm_extra_conf.py and extra_conf.py from origin ycmd to new fold. The jump function can run normally .But there is still something confusing in auto completion.It often makes up some unrelated options.But I am satisfy the result now.Hope that is help for you I hope roboware can get better and better!It is really useful and necessary. @xiankaichen @tonyrobotics

benbenji avatar Jan 29 '18 03:01 benbenji