{"action":"created","issue":{"url":"https://api.github.com/repos/Andersbakken/rtags/issues/127","labels_url":"https://api.github.com/repos/Andersbakken/rtags/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/Andersbakken/rtags/issues/127/comments","events_url":"https://api.github.com/repos/Andersbakken/rtags/issues/127/events","html_url":"https://github.com/Andersbakken/rtags/issues/127","id":21311083,"number":127,"title":"Completion does not seem to work","user":{"login":"brucestephens","id":3371217,"avatar_url":"https://avatars.githubusercontent.com/u/3371217?v=3","gravatar_id":"","url":"https://api.github.com/users/brucestephens","html_url":"https://github.com/brucestephens","followers_url":"https://api.github.com/users/brucestephens/followers","following_url":"https://api.github.com/users/brucestephens/following{/other_user}","gists_url":"https://api.github.com/users/brucestephens/gists{/gist_id}","starred_url":"https://api.github.com/users/brucestephens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brucestephens/subscriptions","organizations_url":"https://api.github.com/users/brucestephens/orgs","repos_url":"https://api.github.com/users/brucestephens/repos","events_url":"https://api.github.com/users/brucestephens/events{/privacy}","received_events_url":"https://api.github.com/users/brucestephens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2013-10-21T12:12:01Z","updated_at":"2015-01-25T07:17:19Z","closed_at":null,"body":"With the following code (with the cursor at the end of the last `foo.` line), I was hoping `rtags-code-complete-at` would suggest the two field names.  Or at least do something, but it seems not to do anything.\r\n\r\n`rc --code-completion-enabled` reports 1, and the project is loaded and other things work (like `rtags-find-symbol-at-point`).\r\n\r\n```\r\nstruct Foo {\r\n  int field_1;\r\n  int another_field_2;\r\n};\r\n\r\nvoid one()\r\n{\r\n  Foo foo;\r\n  foo.field_1 = 2;\r\n  foo.\r\n}\r\n```\r\n\r\n(Calling it by hand also seems not to do what I expect, but by the looks of it it's waiting for input from `stdin`, so likely that's expected.)"},"comment":{"url":"https://api.github.com/repos/Andersbakken/rtags/issues/comments/71357473","html_url":"https://github.com/Andersbakken/rtags/issues/127#issuecomment-71357473","issue_url":"https://api.github.com/repos/Andersbakken/rtags/issues/127","id":71357473,"user":{"login":"stephenry","id":691529,"avatar_url":"https://avatars.githubusercontent.com/u/691529?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenry","html_url":"https://github.com/stephenry","followers_url":"https://api.github.com/users/stephenry/followers","following_url":"https://api.github.com/users/stephenry/following{/other_user}","gists_url":"https://api.github.com/users/stephenry/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenry/subscriptions","organizations_url":"https://api.github.com/users/stephenry/orgs","repos_url":"https://api.github.com/users/stephenry/repos","events_url":"https://api.github.com/users/stephenry/events{/privacy}","received_events_url":"https://api.github.com/users/stephenry/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T07:17:19Z","updated_at":"2015-01-25T07:17:19Z","body":"I too am having some considerable difficulty in getting completion to work using rtags. I have the following code in my init.el. I'm not in a place to debug because after \".\" or \"->\" nothing happens. Can any one provide any suggestions?\r\n\r\n(require 'auto-complete)\r\n(require 'auto-complete-config)\r\n(ac-config-default)\r\n\r\n(require 'rtags)\r\n(require 'popup)\r\n(require 'rtags-ac)\r\n(rtags-enable-standard-keybindings c-mode-base-map)\r\n(setq rtags-completions-enabled t)\r\n\r\n(add-hook 'c-mode-common-hook\r\n\t  (lambda ()\r\n\t    (setq ac-sources '(ac-sources-rtags))))\r\n"}}