Open louhmmsb opened 3 years ago
It is not recommended to use require
inside use-package
, use :after
or :require
instead (use-package), also you can set up hook with use-package too (hooks).
Did you run irony-install-server
? If it is the case, check the version of the irony server, and try to parse some file with the command line (with the default location):
~/.emacs.d/irony/bin/irony-server parse FILE
If all is correct, try to autocomplete with the interactive mode
Good luck!
I'm trying for several hours to make irony's autocomplete work but I keep getting the following error Irony I/O task: error in callback: (irony-server-error complete-error "failed to perform code completion". I think I'm setting things up wrong, sorry I'm pretty new to this. Besides the cpp file, what should I have in the folder, and how do i know if irony is being able to locate libclang?
The relevant part of my init.el is
` (use-package company :ensure t :config (setq company-idle-delay 0) (setq company-minimum-prefix-length 3))
`