{"action":"opened","issue":{"url":"https://api.github.com/repos/Andersbakken/rtags/issues/714","repository_url":"https://api.github.com/repos/Andersbakken/rtags","labels_url":"https://api.github.com/repos/Andersbakken/rtags/issues/714/labels{/name}","comments_url":"https://api.github.com/repos/Andersbakken/rtags/issues/714/comments","events_url":"https://api.github.com/repos/Andersbakken/rtags/issues/714/events","html_url":"https://github.com/Andersbakken/rtags/issues/714","id":159268125,"number":714,"title":"Instant completions at the cost of context-awareness?","user":{"login":"Nephyrin","id":965090,"avatar_url":"https://avatars.githubusercontent.com/u/965090?v=3","gravatar_id":"","url":"https://api.github.com/users/Nephyrin","html_url":"https://github.com/Nephyrin","followers_url":"https://api.github.com/users/Nephyrin/followers","following_url":"https://api.github.com/users/Nephyrin/following{/other_user}","gists_url":"https://api.github.com/users/Nephyrin/gists{/gist_id}","starred_url":"https://api.github.com/users/Nephyrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nephyrin/subscriptions","organizations_url":"https://api.github.com/users/Nephyrin/orgs","repos_url":"https://api.github.com/users/Nephyrin/repos","events_url":"https://api.github.com/users/Nephyrin/events{/privacy}","received_events_url":"https://api.github.com/users/Nephyrin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-08T20:51:38Z","updated_at":"2016-06-08T20:51:38Z","closed_at":null,"body":"Issue 705 seems to have increased the cases where completions are cached a little, but context-sensitive completions still seem to block on a roundtrip through rdm that takes a few seconds on large projects.\r\n\r\nThe common case for autocomplete for me is usually as a cheap \"tab complete\" for chained members or calls in structures such as `gFooSystem->GetBar().m_bFoo` where I may not remember the exact names or where typing e.g. `m_bF[tab]` is quicker than `m_bFullFooSystemActivated`. Though rtags provides extremely accurate suggestions at each step, it takes a few seconds to do so, negating much of the speed benefit of using autocomplete as a tab-complete style typing helper.\r\n\r\nSometimes, though, rtags does have the symbol available: On new lines, for instance, `gFoo->` will (sometimes) autocomplete instantly, whereas `Foo( gFoo->` will block for seconds, presumably because of magic such as ADL that could change what is now available in that scope.  Would it be feasible to have a \"less contextually accurate\" completions mode that might offer less contextually filtered completions in exchange for having them always available? Or am I overestimating how general the caching of completions is on the emacs side?"}}
{"actor":{"display_login":"Nephyrin"}}