{"action":"created","issue":{"url":"https://api.github.com/repos/eranif/codelite/issues/1181","repository_url":"https://api.github.com/repos/eranif/codelite","labels_url":"https://api.github.com/repos/eranif/codelite/issues/1181/labels{/name}","comments_url":"https://api.github.com/repos/eranif/codelite/issues/1181/comments","events_url":"https://api.github.com/repos/eranif/codelite/issues/1181/events","html_url":"https://github.com/eranif/codelite/issues/1181","id":138615575,"number":1181,"title":"Strange code completion behavior for PHP","user":{"login":"jgmdev","id":1702572,"avatar_url":"https://avatars.githubusercontent.com/u/1702572?v=3","gravatar_id":"","url":"https://api.github.com/users/jgmdev","html_url":"https://github.com/jgmdev","followers_url":"https://api.github.com/users/jgmdev/followers","following_url":"https://api.github.com/users/jgmdev/following{/other_user}","gists_url":"https://api.github.com/users/jgmdev/gists{/gist_id}","starred_url":"https://api.github.com/users/jgmdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgmdev/subscriptions","organizations_url":"https://api.github.com/users/jgmdev/orgs","repos_url":"https://api.github.com/users/jgmdev/repos","events_url":"https://api.github.com/users/jgmdev/events{/privacy}","received_events_url":"https://api.github.com/users/jgmdev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T23:26:29Z","updated_at":"2016-03-05T05:23:24Z","closed_at":"2016-03-05T05:18:57Z","body":"I have been fully using codelite now that it has PHP support to maintain a very old style code that uses functions all over the place and no classes. Recently I noticed that code completion is skipping results that better match the typed characters and I have to keep typing in order to get the function that I'm looking for, here some screen shots:\r\n\r\n![](https://raw.githubusercontent.com/jgmdev/images/master/codelite/codelite-codecompletion.png)\r\n\r\nThat is what I get when I type print, I have to keep typing in order to get:\r\n\r\n![](https://raw.githubusercontent.com/jgmdev/images/master/codelite/codelite-codecompletion-after.png)\r\n\r\nIs this the desired behavior?"},"comment":{"url":"https://api.github.com/repos/eranif/codelite/issues/comments/192580189","html_url":"https://github.com/eranif/codelite/issues/1181#issuecomment-192580189","issue_url":"https://api.github.com/repos/eranif/codelite/issues/1181","id":192580189,"user":{"login":"eranif","id":3677711,"avatar_url":"https://avatars.githubusercontent.com/u/3677711?v=3","gravatar_id":"","url":"https://api.github.com/users/eranif","html_url":"https://github.com/eranif","followers_url":"https://api.github.com/users/eranif/followers","following_url":"https://api.github.com/users/eranif/following{/other_user}","gists_url":"https://api.github.com/users/eranif/gists{/gist_id}","starred_url":"https://api.github.com/users/eranif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eranif/subscriptions","organizations_url":"https://api.github.com/users/eranif/orgs","repos_url":"https://api.github.com/users/eranif/repos","events_url":"https://api.github.com/users/eranif/events{/privacy}","received_events_url":"https://api.github.com/users/eranif/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T05:23:24Z","updated_at":"2016-03-05T05:23:24Z","body":"By default, CodeLite sets a 50 items limit per query when fetching the matches from the symbol database. For C++ this is configurable from: `Settings->Code completion->display and behavior->number of items to display in the completion box` \r\n\r\nThis value was not honoured for PHP.\r\nNote that this value does not guarantee to display exactly 50 or N items in the box, but is allows CodeLite to search more items in the symbols database\r\n\r\nObviously, changing it to higher number will cause the CC to take a little more time\r\n"}}