{"action":"created","issue":{"url":"https://api.github.com/repos/yvesdm3000/ClangLib/issues/11","repository_url":"https://api.github.com/repos/yvesdm3000/ClangLib","labels_url":"https://api.github.com/repos/yvesdm3000/ClangLib/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/yvesdm3000/ClangLib/issues/11/comments","events_url":"https://api.github.com/repos/yvesdm3000/ClangLib/issues/11/events","html_url":"https://github.com/yvesdm3000/ClangLib/issues/11","id":171824177,"number":11,"title":"Feature request: Make Clang syntax for keyword code completion optional","user":{"login":"scarphin","id":12471642,"avatar_url":"https://avatars.githubusercontent.com/u/12471642?v=3","gravatar_id":"","url":"https://api.github.com/users/scarphin","html_url":"https://github.com/scarphin","followers_url":"https://api.github.com/users/scarphin/followers","following_url":"https://api.github.com/users/scarphin/following{/other_user}","gists_url":"https://api.github.com/users/scarphin/gists{/gist_id}","starred_url":"https://api.github.com/users/scarphin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scarphin/subscriptions","organizations_url":"https://api.github.com/users/scarphin/orgs","repos_url":"https://api.github.com/users/scarphin/repos","events_url":"https://api.github.com/users/scarphin/events{/privacy}","received_events_url":"https://api.github.com/users/scarphin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"yvesdm3000","id":1717312,"avatar_url":"https://avatars.githubusercontent.com/u/1717312?v=3","gravatar_id":"","url":"https://api.github.com/users/yvesdm3000","html_url":"https://github.com/yvesdm3000","followers_url":"https://api.github.com/users/yvesdm3000/followers","following_url":"https://api.github.com/users/yvesdm3000/following{/other_user}","gists_url":"https://api.github.com/users/yvesdm3000/gists{/gist_id}","starred_url":"https://api.github.com/users/yvesdm3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvesdm3000/subscriptions","organizations_url":"https://api.github.com/users/yvesdm3000/orgs","repos_url":"https://api.github.com/users/yvesdm3000/repos","events_url":"https://api.github.com/users/yvesdm3000/events{/privacy}","received_events_url":"https://api.github.com/users/yvesdm3000/received_events","type":"User","site_admin":false},"assignees":[{"login":"yvesdm3000","id":1717312,"avatar_url":"https://avatars.githubusercontent.com/u/1717312?v=3","gravatar_id":"","url":"https://api.github.com/users/yvesdm3000","html_url":"https://github.com/yvesdm3000","followers_url":"https://api.github.com/users/yvesdm3000/followers","following_url":"https://api.github.com/users/yvesdm3000/following{/other_user}","gists_url":"https://api.github.com/users/yvesdm3000/gists{/gist_id}","starred_url":"https://api.github.com/users/yvesdm3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvesdm3000/subscriptions","organizations_url":"https://api.github.com/users/yvesdm3000/orgs","repos_url":"https://api.github.com/users/yvesdm3000/repos","events_url":"https://api.github.com/users/yvesdm3000/events{/privacy}","received_events_url":"https://api.github.com/users/yvesdm3000/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-08-18T06:01:33Z","updated_at":"2016-08-24T02:25:04Z","closed_at":null,"body":"Hi,\r\nI have been using your plugin for a while now and I can say it works better than CodeBlocks' own CC plugin. Thanks a lot for this.\r\n\r\nHowever, an annoying issue (at least for me) is the Clang's way of completing the keywords like for, while etc... The topic I came up with may be confusing so I'll provide an example. If I try to complete say 'while' I get something like:\r\n`    while( /*! condition !*/ ){\r\n    }`\r\nbut this is not the syntax I desire. The output I desire from Clang part is just 'while'. I use the abbreviations plugin of CB to configure the syntax for keywords and other stuff and unfortunately I am very used to pushing tab key (to code complete) after I type 'whi'. Can this behavior be optional? Or in case you don't have much time to work on it, can you at least give me a hint where on code can this behavior be disabled so I can do it on my self compiled CB? I may be able to provide a patch if I can figure it out too.\r\n\r\nIs it also possible to make the Clang's way of function completion optional? I find it a little confusing to have the parameters as comments when the calltip shows different parameters in case there are other overloaded functions. Other than that 'tab smart jump' is a must to browse through the parameters effectively which I'm not used to.\r\n\r\nAnyhow thanks again for the awesome plugin.\r\n"},"comment":{"url":"https://api.github.com/repos/yvesdm3000/ClangLib/issues/comments/241939930","html_url":"https://github.com/yvesdm3000/ClangLib/issues/11#issuecomment-241939930","issue_url":"https://api.github.com/repos/yvesdm3000/ClangLib/issues/11","id":241939930,"user":{"login":"scarphin","id":12471642,"avatar_url":"https://avatars.githubusercontent.com/u/12471642?v=3","gravatar_id":"","url":"https://api.github.com/users/scarphin","html_url":"https://github.com/scarphin","followers_url":"https://api.github.com/users/scarphin/followers","following_url":"https://api.github.com/users/scarphin/following{/other_user}","gists_url":"https://api.github.com/users/scarphin/gists{/gist_id}","starred_url":"https://api.github.com/users/scarphin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scarphin/subscriptions","organizations_url":"https://api.github.com/users/scarphin/orgs","repos_url":"https://api.github.com/users/scarphin/repos","events_url":"https://api.github.com/users/scarphin/events{/privacy}","received_events_url":"https://api.github.com/users/scarphin/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T02:25:04Z","updated_at":"2016-08-24T02:25:04Z","body":"Thanks for the fix and sorry for the late reply, it took me a couple of days to compile and try.\r\n\r\nWith the new fix, I don't get any code completion suggestions for switch/while/for etc... if I disable 'Add code patterns to Code Completion results'. To be more clear, clang no longer code completes the keywords like while/switch etc... From what I understand, clang either completes the keywords with its own syntax or doesn't complete at all. Is that the intended behavior or am I missing something? Can it be adjusted to just code complete the keyword with nothing extra?\r\n\r\nAlso 'Add brief comments to Code Completion result arguments' doesn't have any effect on commented function parameters. Whether enabled or disabled, I always get commented function parameters when I code complete a function. Again is that the intended behavior?\r\n"}}
{"actor":{"display_login":"scarphin"}}