Is there a way to get autocomplete to popup after typing a "." or "->"?
I thought the code for this was
(add-to-list 'ac-omni-completion-sources
(cons "\\." '(ac-source-semantic)))
(add-to-list 'ac-omni-completion-sources
(cons "->" '(ac-source-semantic)))
But it seems like this may have been deprecated.
The closest I've see is Alex Ott's response here using:
(defun my-c-mode-cedet-hook ()
(local-set-key "." 'semantic-complete-self-insert)
(local-set-key ">" 'semantic-complete-self-insert))
(add-hook 'c-mode-common-hook 'my-c-mode-cedet-hook)
However, this always pops up another frame to display the suggestions from semantic. I would like to have everything use autocomplete's native popup if possible, in such a manner that when I attempt reference a member function of a class using "myClass->", the autocomplete would popup with suggestions. Any idea if this can be accomplished?