{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/24201","repository_url":"https://api.github.com/repos/dart-lang/sdk","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/24201/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/24201/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/24201/events","html_url":"https://github.com/dart-lang/sdk/issues/24201","id":103081136,"number":24201,"title":"auto-complete should be ordering results in a more useful order","user":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars.githubusercontent.com/u/1269969?v=3","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/analyzer-completion","name":"analyzer-completion","color":"d4c5f9"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/analyzer-server","name":"analyzer-server","color":"d4c5f9"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-analyzer","name":"area-analyzer","color":"c7def8"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/P2%20medium","name":"P2 medium","color":"fbca04"},{"url":"https://api.github.com/repos/dart-lang/sdk/labels/Type:%20bug","name":"Type: bug","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"danrubel","id":2891888,"avatar_url":"https://avatars.githubusercontent.com/u/2891888?v=3","gravatar_id":"","url":"https://api.github.com/users/danrubel","html_url":"https://github.com/danrubel","followers_url":"https://api.github.com/users/danrubel/followers","following_url":"https://api.github.com/users/danrubel/following{/other_user}","gists_url":"https://api.github.com/users/danrubel/gists{/gist_id}","starred_url":"https://api.github.com/users/danrubel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrubel/subscriptions","organizations_url":"https://api.github.com/users/danrubel/orgs","repos_url":"https://api.github.com/users/danrubel/repos","events_url":"https://api.github.com/users/danrubel/events{/privacy}","received_events_url":"https://api.github.com/users/danrubel/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-25T17:52:02Z","updated_at":"2016-04-20T22:16:27Z","closed_at":"2016-04-20T22:16:27Z","body":"From https://github.com/dart-atom/dartlang/issues/239:\r\n\r\nI have a class definition with 5+ fields and I am trying to instantiate it:\r\n\r\n```dart\r\nvar a = new MyClass()..[ctrl+space]\r\n```\r\nHowever the first suggested completions are: \r\n```\r\nfalse, new, null, true\r\n```\r\nIt does not seem like I would ever need to auto-complete those. \r\n\r\nThen appear all the properties (own and inherited) in an alphabetical order.\r\nI think it would be more useful to provide the fields and properties at the top as very few programmers forget the keywords of a language. "},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/212634034","html_url":"https://github.com/dart-lang/sdk/issues/24201#issuecomment-212634034","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/24201","id":212634034,"user":{"login":"jwren","id":1533520,"avatar_url":"https://avatars.githubusercontent.com/u/1533520?v=3","gravatar_id":"","url":"https://api.github.com/users/jwren","html_url":"https://github.com/jwren","followers_url":"https://api.github.com/users/jwren/followers","following_url":"https://api.github.com/users/jwren/following{/other_user}","gists_url":"https://api.github.com/users/jwren/gists{/gist_id}","starred_url":"https://api.github.com/users/jwren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwren/subscriptions","organizations_url":"https://api.github.com/users/jwren/orgs","repos_url":"https://api.github.com/users/jwren/repos","events_url":"https://api.github.com/users/jwren/events{/privacy}","received_events_url":"https://api.github.com/users/jwren/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T22:16:27Z","updated_at":"2016-04-20T22:16:27Z","body":"![image](https://cloud.githubusercontent.com/assets/1533520/14692249/ca4c9fe6-070a-11e6-8bd6-a3862576a4ce.png)\r\n"}}