{"action":"opened","issue":{"url":"https://api.github.com/repos/rikvdkleij/intellij-haskell/issues/284","repository_url":"https://api.github.com/repos/rikvdkleij/intellij-haskell","labels_url":"https://api.github.com/repos/rikvdkleij/intellij-haskell/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/rikvdkleij/intellij-haskell/issues/284/comments","events_url":"https://api.github.com/repos/rikvdkleij/intellij-haskell/issues/284/events","html_url":"https://github.com/rikvdkleij/intellij-haskell/issues/284","id":334862443,"node_id":"MDU6SXNzdWUzMzQ4NjI0NDM=","number":284,"title":"Reformat code as part of the \"normal\" Intellij flow","user":{"login":"Sir4ur0n","id":1204125,"node_id":"MDQ6VXNlcjEyMDQxMjU=","avatar_url":"https://avatars3.githubusercontent.com/u/1204125?v=4","gravatar_id":"","url":"https://api.github.com/users/Sir4ur0n","html_url":"https://github.com/Sir4ur0n","followers_url":"https://api.github.com/users/Sir4ur0n/followers","following_url":"https://api.github.com/users/Sir4ur0n/following{/other_user}","gists_url":"https://api.github.com/users/Sir4ur0n/gists{/gist_id}","starred_url":"https://api.github.com/users/Sir4ur0n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sir4ur0n/subscriptions","organizations_url":"https://api.github.com/users/Sir4ur0n/orgs","repos_url":"https://api.github.com/users/Sir4ur0n/repos","events_url":"https://api.github.com/users/Sir4ur0n/events{/privacy}","received_events_url":"https://api.github.com/users/Sir4ur0n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-22T12:35:39Z","updated_at":"2018-06-22T12:35:39Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nFirst of all this plugin is really nice, thanks alot for it!\r\n\r\nWhile using it I was quite surprised that the default `Reformat code` shortcut did nothing. After some fiddling I found out the Haskell reformat is actually in `Code / Haskell / Reformat XXX` and not the standard `Code / Reformat code` menu.\r\n\r\nIs there any reason stylish and/or hindent are not plugged on the \"normal\" `Code / Reformat code` menu? This would mean 1 shortcut no matter the language (we use several languages in my project), and more importantly, this would allow us to use the extremely useful `Reformat code` checkbox when committing with Intellij (everybody does that in the team so that we never have to worry about code style).\r\n\r\nThat would be awesome 😄 \r\n\r\nAlso, it seems we can't assign the same shortcut to both `Code / Reformat code` and `Code / Haskell / Reformat XXX` so it's not even possible to use the same shortcut for Haskell and non-Haskell projects."}}
{"actor":{"display_login":"Sir4ur0n"}}