Unfortunately I experience troubles while using of irony, it seems irony doesn't refresh completion results properly. E.g. I have two functions: foo1 and foo2, at first time completion works well, after I add foo3, completion still shows only foo1 and foo2. But for some reason, after I call irony-get-type, it refreshes completion results. Let me provide you an example with logs given from irony server.
Given file:
void foo1(){}
void foo2(){}
// >>> here we will add foo3 <<<
int main() {
// >>> here we will play with completion <<<
return 0;
}
irony-get-type solves problem only one time, i.e. after adding void foo4(){} I don't see it until I call irony-get-type again.
Config
I use regular complete-symbol. I also tried to play with company-mode, with the same results actually. The version of package given from MELPA: irony-20171110.1151.
Hi,
Thanks a lot for you work!
Unfortunately I experience troubles while using of irony, it seems irony doesn't refresh completion results properly. E.g. I have two functions:
foo1
andfoo2
, at first time completion works well, after I addfoo3
, completion still shows only foo1 and foo2. But for some reason, after I callirony-get-type
, it refreshes completion results. Let me provide you an example with logs given from irony server.Given file:
Step 1
Type
foo
, completions arefoo1
andfoo2
.Step 2
Add new function:
void foo3(){}
. Typefoo
, completions still are:foo1
andfoo2
. I expect too see foo3 there as well.Step 3
Call
M-x irony-get-type
(on any symbol actually). Irony returns correct type.The interesting difference I see in log is
execute: Command{action=Command::Parse
.Step 4
Type
foo
, completions are:foo1
,foo2
, andfoo3
....
irony-get-type
solves problem only one time, i.e. after addingvoid foo4(){}
I don't see it until I callirony-get-type
again.Config
I use regular
complete-symbol
. I also tried to play withcompany-mode
, with the same results actually. The version of package given from MELPA: irony-20171110.1151.The .emacs config:
Please let me know if I can help somehow with debugging.