{"action":"created","issue":{"url":"https://api.github.com/repos/neoclide/coc.nvim/issues/156","repository_url":"https://api.github.com/repos/neoclide/coc.nvim","labels_url":"https://api.github.com/repos/neoclide/coc.nvim/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/neoclide/coc.nvim/issues/156/comments","events_url":"https://api.github.com/repos/neoclide/coc.nvim/issues/156/events","html_url":"https://github.com/neoclide/coc.nvim/issues/156","id":379473183,"node_id":"MDU6SXNzdWUzNzk0NzMxODM=","number":156,"title":"Nested snippet expansion breaks initial snippet placeholder navigation","user":{"login":"oblitum","id":1269815,"node_id":"MDQ6VXNlcjEyNjk4MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1269815?v=4","gravatar_id":"","url":"https://api.github.com/users/oblitum","html_url":"https://github.com/oblitum","followers_url":"https://api.github.com/users/oblitum/followers","following_url":"https://api.github.com/users/oblitum/following{/other_user}","gists_url":"https://api.github.com/users/oblitum/gists{/gist_id}","starred_url":"https://api.github.com/users/oblitum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblitum/subscriptions","organizations_url":"https://api.github.com/users/oblitum/orgs","repos_url":"https://api.github.com/users/oblitum/repos","events_url":"https://api.github.com/users/oblitum/events{/privacy}","received_events_url":"https://api.github.com/users/oblitum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":37,"created_at":"2018-11-10T23:42:42Z","updated_at":"2018-11-12T16:22:00Z","closed_at":null,"author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\nI'm in general not liking the current implementations for function argument snippets that are being provided by several code completers because they're very limited. For example, for `int foo(int a, int b)`, if I accept the snippet for `foo` call with another snippet completion for a inner `foo` call as argument, this happens: `foo(foo(4, 2), <placeholder jumps of first snippet don't work anymore!>int b)`, which means, I'll have to edit and remove the remaining `int b` by hand, without snippet's jump and selection. That's very bad.\r\n\r\n**Describe the solution you'd like**\r\nI can't say whether there's a best solution but I'd like at least to disable these snippets for function arguments so that I can just stick to [echodoc.vim](https://github.com/Shougo/echodoc.vim) for example. LanguageClient-neovim provides `g:LanguageClient_hasSnippetSupport = 0` to help on that, for example.\r\n\r\n**Describe alternatives you've considered**\r\nAlternative means of dealing with arguments are described here:\r\n\r\n- https://reviews.llvm.org/D38048#889568\r\n- https://github.com/hukeyue/vim-clangd/issues/13\r\n- https://github.com/MaskRay/ccls/issues/110#issuecomment-437559882\r\n- http://nosubstance.me/articles/2015-01-29-better-completion-for-cpp/\r\n"},"comment":{"url":"https://api.github.com/repos/neoclide/coc.nvim/issues/comments/437941647","html_url":"https://github.com/neoclide/coc.nvim/issues/156#issuecomment-437941647","issue_url":"https://api.github.com/repos/neoclide/coc.nvim/issues/156","id":437941647,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzk0MTY0Nw==","user":{"login":"oblitum","id":1269815,"node_id":"MDQ6VXNlcjEyNjk4MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1269815?v=4","gravatar_id":"","url":"https://api.github.com/users/oblitum","html_url":"https://github.com/oblitum","followers_url":"https://api.github.com/users/oblitum/followers","following_url":"https://api.github.com/users/oblitum/following{/other_user}","gists_url":"https://api.github.com/users/oblitum/gists{/gist_id}","starred_url":"https://api.github.com/users/oblitum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oblitum/subscriptions","organizations_url":"https://api.github.com/users/oblitum/orgs","repos_url":"https://api.github.com/users/oblitum/repos","events_url":"https://api.github.com/users/oblitum/events{/privacy}","received_events_url":"https://api.github.com/users/oblitum/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T16:22:00Z","updated_at":"2018-11-12T16:22:00Z","author_association":"NONE","body":"@chemzqm the current behavior now is that I'm getting a bunch of whitespace inserted when I browse the menu items:\r\n\r\n![14 21 25_12-11-18](https://user-images.githubusercontent.com/1269815/48360385-45737200-e686-11e8-90d4-52c425349853.png)\r\n"}}
{"actor":{"display_login":"oblitum"}}