{"action":"created","issue":{"url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/1337","repository_url":"https://api.github.com/repos/Dart-Code/Dart-Code","labels_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/1337/labels{/name}","comments_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/1337/comments","events_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/1337/events","html_url":"https://github.com/Dart-Code/Dart-Code/issues/1337","id":388499173,"node_id":"MDU6SXNzdWUzODg0OTkxNzM=","number":1337,"title":"Code Snippet (Open Code Completion) Jump to the wrong position when I press Down key","user":{"login":"sgon00","id":1555508,"node_id":"MDQ6VXNlcjE1NTU1MDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1555508?v=4","gravatar_id":"","url":"https://api.github.com/users/sgon00","html_url":"https://github.com/sgon00","followers_url":"https://api.github.com/users/sgon00/followers","following_url":"https://api.github.com/users/sgon00/following{/other_user}","gists_url":"https://api.github.com/users/sgon00/gists{/gist_id}","starred_url":"https://api.github.com/users/sgon00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgon00/subscriptions","organizations_url":"https://api.github.com/users/sgon00/orgs","repos_url":"https://api.github.com/users/sgon00/repos","events_url":"https://api.github.com/users/sgon00/events{/privacy}","received_events_url":"https://api.github.com/users/sgon00/received_events","type":"User","site_admin":false},"labels":[{"id":855924434,"node_id":"MDU6TGFiZWw4NTU5MjQ0MzQ=","url":"https://api.github.com/repos/Dart-Code/Dart-Code/labels/upstream%20in%20vs%20code","name":"upstream in vs code","color":"660000","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-07T04:14:51Z","updated_at":"2018-12-10T08:42:43Z","closed_at":"2018-12-10T08:32:27Z","author_association":"NONE","body":"OS: MacOS\r\nVSCode: 1.29.1\r\nDart-Code: 2.21.1\r\n\r\nHi, I provide an example to show what I mean here:\r\nIn flutter code, when I type `margin:`, the code snippet popup window will come up and show a list like:\r\n\r\n```\r\nEdgeInsets.all()\r\nEdgeInsets.fromLTRB()\r\nEdgeInsets.fromWindowPadding()\r\netc..\r\n```\r\n\r\nBut, when I press the `Down` key from the keyboard to select the first one, The list cursor will jump to some random places such as `CastError`. \r\n\r\nThis is NOT specific to `magin:` and it happens to all code snippet (code completion). Btw, This is not 100% reproducible. If I use mouse to select `EdgeInsets.all()` and press enter, next time when I press `Down` key, it will jump to the correct place. \r\n\r\nI have no idea when this will happen, but it happens constantly (99%) of my coding history in vscode. Everytime, I hate myself to first fail using keyboard button and then call Open Code Completion again and then use Mouse to select it. Everytime, when the popup window appears, I have to think many seconds to decide if I should use Mouse or Down key. This is driving me crazy. I really hate Mouse. \r\n\r\nThanks a lot. "},"comment":{"url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/comments/445734553","html_url":"https://github.com/Dart-Code/Dart-Code/issues/1337#issuecomment-445734553","issue_url":"https://api.github.com/repos/Dart-Code/Dart-Code/issues/1337","id":445734553,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTczNDU1Mw==","user":{"login":"DanTup","id":1078012,"node_id":"MDQ6VXNlcjEwNzgwMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1078012?v=4","gravatar_id":"","url":"https://api.github.com/users/DanTup","html_url":"https://github.com/DanTup","followers_url":"https://api.github.com/users/DanTup/followers","following_url":"https://api.github.com/users/DanTup/following{/other_user}","gists_url":"https://api.github.com/users/DanTup/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTup/subscriptions","organizations_url":"https://api.github.com/users/DanTup/orgs","repos_url":"https://api.github.com/users/DanTup/repos","events_url":"https://api.github.com/users/DanTup/events{/privacy}","received_events_url":"https://api.github.com/users/DanTup/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T08:42:43Z","updated_at":"2018-12-10T08:42:43Z","author_association":"MEMBER","body":"@sgon00 I think this is still a bug. Even if the completion is pre-selecting a different item by  default, it should be visible. I see the VS Code issue was closed as a dupe, but I'm not sure what of - I can't find another case that seems to describe that issue. Any ideas?"}}
{"actor":{"display_login":"DanTup"}}