{"action":"created","issue":{"url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/207","repository_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2","labels_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/207/comments","events_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/207/events","html_url":"https://github.com/artur-shaik/vim-javacomplete2/issues/207","id":136837818,"number":207,"title":"Order of imports should be preserved, or follow Eclipse/NetBeans","user":{"login":"andrewbenton","id":10468034,"avatar_url":"https://avatars.githubusercontent.com/u/10468034?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewbenton","html_url":"https://github.com/andrewbenton","followers_url":"https://api.github.com/users/andrewbenton/followers","following_url":"https://api.github.com/users/andrewbenton/following{/other_user}","gists_url":"https://api.github.com/users/andrewbenton/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewbenton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewbenton/subscriptions","organizations_url":"https://api.github.com/users/andrewbenton/orgs","repos_url":"https://api.github.com/users/andrewbenton/repos","events_url":"https://api.github.com/users/andrewbenton/events{/privacy}","received_events_url":"https://api.github.com/users/andrewbenton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-26T22:55:25Z","updated_at":"2016-02-27T01:03:10Z","closed_at":null,"body":"At the moment, all spacing in the import statement section will be removed and they are lumped together and sorted alphabetically without looking at the first token of the import.  This results in the statements being arranged in odd ways. "},"comment":{"url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/comments/189543652","html_url":"https://github.com/artur-shaik/vim-javacomplete2/issues/207#issuecomment-189543652","issue_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/207","id":189543652,"user":{"login":"andrewbenton","id":10468034,"avatar_url":"https://avatars.githubusercontent.com/u/10468034?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewbenton","html_url":"https://github.com/andrewbenton","followers_url":"https://api.github.com/users/andrewbenton/followers","following_url":"https://api.github.com/users/andrewbenton/following{/other_user}","gists_url":"https://api.github.com/users/andrewbenton/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewbenton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewbenton/subscriptions","organizations_url":"https://api.github.com/users/andrewbenton/orgs","repos_url":"https://api.github.com/users/andrewbenton/repos","events_url":"https://api.github.com/users/andrewbenton/events{/privacy}","received_events_url":"https://api.github.com/users/andrewbenton/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T01:03:10Z","updated_at":"2016-02-27T01:03:10Z","body":"If possible, then putting classes with the same jar together would be fantastic.  I was more referring to this:\r\n\r\nSay that you have some imports organized as such:\r\n\r\njava```\r\npackage A;\r\n\r\nimport java.util.List;\r\n\r\nimport com.google.gson.JsonObject;\r\n\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n```\r\n\r\nThis will currently be reorganized to show:\r\n\r\njava```\r\npackage A;\r\n\r\nimport com.google.gson.JsonObject\r\nimport java.util.List;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n```\r\n\r\nHowever, Eclipse, Netbeans, and most FOSS that I've seen will organize sections into java, javax, com, org, and then other imports, and sort based on their names, like in the first example.  \r\n\r\nI personally also like keeping imports separated by the Jar that they are from as well, but I haven't seen that as much."}}