I tried fixing 2), but it got too complicated for me.
> In file "haiqcompletion.cpp" in function
> "get_type_for_completion(QString left_file_text)" you check for "::",
> "->" and ".", if none of this strings is found than you look in
> "global", which is wrong.
You should check for the "type of completion" left of the last word
and not at the end of line. This is why code completion works only for
"::", "->" and "."
I think I found the solution for 3)
In file "cppcompletion.cpp" on line 317: "if (tags.count()>0) {"
should also check if the current line in the editor is commented.
Regards,
Djuro Drljaca