{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-atom/issues/214","repository_url":"https://api.github.com/repos/ensime/ensime-atom","labels_url":"https://api.github.com/repos/ensime/ensime-atom/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-atom/issues/214/comments","events_url":"https://api.github.com/repos/ensime/ensime-atom/issues/214/events","html_url":"https://github.com/ensime/ensime-atom/issues/214","id":142087101,"number":214,"title":"Organize imports bug","user":{"login":"stevendobay","id":6649246,"avatar_url":"https://avatars.githubusercontent.com/u/6649246?v=3","gravatar_id":"","url":"https://api.github.com/users/stevendobay","html_url":"https://github.com/stevendobay","followers_url":"https://api.github.com/users/stevendobay/followers","following_url":"https://api.github.com/users/stevendobay/following{/other_user}","gists_url":"https://api.github.com/users/stevendobay/gists{/gist_id}","starred_url":"https://api.github.com/users/stevendobay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevendobay/subscriptions","organizations_url":"https://api.github.com/users/stevendobay/orgs","repos_url":"https://api.github.com/users/stevendobay/repos","events_url":"https://api.github.com/users/stevendobay/events{/privacy}","received_events_url":"https://api.github.com/users/stevendobay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-19T18:01:29Z","updated_at":"2016-03-21T14:39:54Z","closed_at":null,"body":"Hi all, I've a problem with the 'Ensime:Organize imports' menu: \r\n\r\nthis has been 'refactored'\r\n```scala\r\nimport scala.collection.immutable.HashMap\r\nimport scala.concurrent.Future\r\nimport scala.util.Try\r\n\r\nimport scala.concurrent.ExecutionContext.Implicits.global\r\n```\r\n\r\nto this:\r\n\r\n```scala\r\nimport scala.collection.immutable.HashMap\r\nimport scala.concurrent.ExecutionContext.Implicits.global\r\nimport scala.concurrent.Futureimport scala.concurrent.Future\r\nimport scala.util.Try\r\n```\r\n\r\nAs you can see, the third line has been duplicated and concatenated. \r\n\r\n**Atom Version**: 1.6.0\r\n**System**: Linux Mint\r\n[Ensime](https://github.com/ensime/ensime-atom) package, v0.37.2\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"autoHideMenuBar\": true,\r\n    \"disabledPackages\": [\r\n      \"language-csharp\",\r\n      \"language-clojure\",\r\n      \"language-go\",\r\n      \"language-objective-c\",\r\n      \"language-perl\",\r\n      \"language-php\",\r\n      \"linter-scalac\"\r\n    ]\r\n  },\r\n  \"Ensime\": {\r\n    \"noOfAutocompleteSuggestions\": 100,\r\n    \"runServersDetached\": true,\r\n    \"sbtExec\": \"/usr/bin/sbt\"\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nEnsime, v0.37.2\r\nbrowser-plus, v0.0.54\r\nbuild-sbt, v0.4.0\r\nhyperclick, v0.0.35\r\nlanguage-nim, v0.2.2\r\nlanguage-scala, v1.1.6\r\nlanguage-scala-plus, v1.2.2\r\nlinter, v1.11.3\r\nnim, v0.3.6\r\nterminal-plus, v0.14.5\r\n\r\n# Dev\r\nNo dev packages\r\n```"},"comment":{"url":"https://api.github.com/repos/ensime/ensime-atom/issues/comments/199319258","html_url":"https://github.com/ensime/ensime-atom/issues/214#issuecomment-199319258","issue_url":"https://api.github.com/repos/ensime/ensime-atom/issues/214","id":199319258,"user":{"login":"hedefalk","id":116520,"avatar_url":"https://avatars.githubusercontent.com/u/116520?v=3","gravatar_id":"","url":"https://api.github.com/users/hedefalk","html_url":"https://github.com/hedefalk","followers_url":"https://api.github.com/users/hedefalk/followers","following_url":"https://api.github.com/users/hedefalk/following{/other_user}","gists_url":"https://api.github.com/users/hedefalk/gists{/gist_id}","starred_url":"https://api.github.com/users/hedefalk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedefalk/subscriptions","organizations_url":"https://api.github.com/users/hedefalk/orgs","repos_url":"https://api.github.com/users/hedefalk/repos","events_url":"https://api.github.com/users/hedefalk/events{/privacy}","received_events_url":"https://api.github.com/users/hedefalk/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T14:39:54Z","updated_at":"2016-03-21T14:39:54Z","body":"Eh, my test case seems broken, for some reason diff lib doesn't parse the lines…"}}