{"action":"created","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2188","repository_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2188/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2188/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2188/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2188","id":124130918,"number":2188,"title":"Rework the placeholder detection in the placeholder count detection","user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/labels/housekeeping","name":"housekeeping","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-28T21:43:36Z","updated_at":"2016-04-16T18:15:49Z","closed_at":null,"body":"As per comment https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/2187#issuecomment-167661791 the placeholder detection should be simplified / improved so that we can can get more out of this:\r\n\r\n- simplify the process\r\n- get the pair of placeholder / value(s) (a value can be assigned to multiple placeholders due to placeholder supporting indexes)\r\n- check if the placeholder type is valid for the formatting function"},"comment":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/comments/210867892","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/2188#issuecomment-210867892","issue_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/2188","id":210867892,"user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T18:15:49Z","updated_at":"2016-04-16T18:15:49Z","body":"@zolotov what does ` // todo: implement ConstEvaluator ` from https://github.com/go-lang-plugin-org/go-lang-idea-plugin/blob/master/src/com/goide/inspections/GoPlaceholderCountInspection.java#L125 means? I want to actually get onto doing this but I'm not sure about this. Thank you."}}