richard1122 / vscode-youcompleteme

YouCompleteMe for VSCode
https://marketplace.visualstudio.com/items?itemName=RichardHe.you-complete-me
MIT License
53 stars 8 forks source link

youcompleteme faled with autotools project #26

Closed harryherold closed 7 years ago

harryherold commented 7 years ago

I build a compilation database with bear for an autotools project and I get the following error:

[Error - 10:01:04] Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: Network failed
  Code: -32603 

The error occurs by clicking on function or variables. Where can I get more information about the error? Are there log files?

harryherold commented 7 years ago

My .ycm_extra_conf.py was not loaded. Now it works! How can i set automatic loading by each workspace? I tried "ycmd.confirm_extra_conf": true in the .vscode/settings.json but this is not working.

harryherold commented 7 years ago

Of course ycmd.confirm_extra_conf should be false.