{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/haskell-ide-engine/issues/129","labels_url":"https://api.github.com/repos/haskell/haskell-ide-engine/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/haskell/haskell-ide-engine/issues/129/comments","events_url":"https://api.github.com/repos/haskell/haskell-ide-engine/issues/129/events","html_url":"https://github.com/haskell/haskell-ide-engine/issues/129","id":120804590,"number":129,"title":"Create default parameter for word at point","user":{"login":"alanz","id":409607,"avatar_url":"https://avatars.githubusercontent.com/u/409607?v=3","gravatar_id":"","url":"https://api.github.com/users/alanz","html_url":"https://github.com/alanz","followers_url":"https://api.github.com/users/alanz/followers","following_url":"https://api.github.com/users/alanz/following{/other_user}","gists_url":"https://api.github.com/users/alanz/gists{/gist_id}","starred_url":"https://api.github.com/users/alanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanz/subscriptions","organizations_url":"https://api.github.com/users/alanz/orgs","repos_url":"https://api.github.com/users/alanz/repos","events_url":"https://api.github.com/users/alanz/events{/privacy}","received_events_url":"https://api.github.com/users/alanz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell/haskell-ide-engine/labels/type:%20discussion%20-%20decision%20needed","name":"type: discussion - decision needed","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T15:58:40Z","updated_at":"2015-12-07T21:53:09Z","closed_at":null,"body":"In emacs, if I put the cursor on a symbol and invoke (via the menu) any command that needs a one word symbol (such as ghc-mod find command), the word that point is on should be provided.\r\n\r\nBut perhaps this should always be sent through, in the same way we always send through the file name, start or region and end of region, if they are set.\r\n\r\nIt could be a standard variable \"word-under-cursor\" or some such.\r\n\r\nThoughts?\r\n"},"comment":{"url":"https://api.github.com/repos/haskell/haskell-ide-engine/issues/comments/162676687","html_url":"https://github.com/haskell/haskell-ide-engine/issues/129#issuecomment-162676687","issue_url":"https://api.github.com/repos/haskell/haskell-ide-engine/issues/129","id":162676687,"user":{"login":"alanz","id":409607,"avatar_url":"https://avatars.githubusercontent.com/u/409607?v=3","gravatar_id":"","url":"https://api.github.com/users/alanz","html_url":"https://github.com/alanz","followers_url":"https://api.github.com/users/alanz/followers","following_url":"https://api.github.com/users/alanz/following{/other_user}","gists_url":"https://api.github.com/users/alanz/gists{/gist_id}","starred_url":"https://api.github.com/users/alanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanz/subscriptions","organizations_url":"https://api.github.com/users/alanz/orgs","repos_url":"https://api.github.com/users/alanz/repos","events_url":"https://api.github.com/users/alanz/events{/privacy}","received_events_url":"https://api.github.com/users/alanz/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T21:53:09Z","updated_at":"2015-12-07T21:53:09Z","body":"I think having it work on a symbol in a commented out stretch of code could be useful. So keeping it simple may be beneficial. At the end of the day, the user places the cursor, and asks a question. They must have some idea that it is something worth looking up."}}