{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1886","repository_url":"https://api.github.com/repos/Microsoft/visualfsharp","labels_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1886/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1886/comments","events_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1886/events","html_url":"https://github.com/Microsoft/visualfsharp/issues/1886","id":192201017,"number":1886,"title":"Support Locals and Parameters in Completion and IntelliSense Filtering","user":{"login":"cartermp","id":6309070,"avatar_url":"https://avatars.githubusercontent.com/u/6309070?v=3","gravatar_id":"","url":"https://api.github.com/users/cartermp","html_url":"https://github.com/cartermp","followers_url":"https://api.github.com/users/cartermp/followers","following_url":"https://api.github.com/users/cartermp/following{/other_user}","gists_url":"https://api.github.com/users/cartermp/gists{/gist_id}","starred_url":"https://api.github.com/users/cartermp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartermp/subscriptions","organizations_url":"https://api.github.com/users/cartermp/orgs","repos_url":"https://api.github.com/users/cartermp/repos","events_url":"https://api.github.com/users/cartermp/events{/privacy}","received_events_url":"https://api.github.com/users/cartermp/received_events","type":"User","site_admin":false},"labels":[{"id":308804753,"url":"https://api.github.com/repos/Microsoft/visualfsharp/labels/Area-IDE%20Language%20Service","name":"Area-IDE Language Service","color":"5319e7","default":false},{"id":167832407,"url":"https://api.github.com/repos/Microsoft/visualfsharp/labels/Feature%20Request","name":"Feature Request","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-29T06:43:09Z","updated_at":"2016-11-29T16:18:56Z","closed_at":null,"body":"In C# projects, you can do this:\r\n\r\n![locals](https://cloud.githubusercontent.com/assets/6309070/20699251/34675ff6-b5bb-11e6-98fd-9cd2b6792270.PNG)\r\n\r\nThis would be quite useful for F#, as there are numerous situations where you explicitly give something a name and use it some way, like passing to a function, such as this:\r\n\r\n```fsharp\r\ntype BST<'T> =\r\n    | Empty\r\n    | Node of value:'T * left:BST<'T> * right:BST<'T>\r\n\r\nlet rec flip t = \r\n    match t with\r\n    | Empty -> t\r\n    | Node(x, left, right) -> Node(x, flip right, flip left)\r\n//                                          ^^          ^^\r\n//                        These would be suggested to me by IntelliSense\r\n//                        after typing \"r\" and \"l\", respectively.\r\n```"},"comment":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/comments/263617460","html_url":"https://github.com/Microsoft/visualfsharp/issues/1886#issuecomment-263617460","issue_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/1886","id":263617460,"user":{"login":"cartermp","id":6309070,"avatar_url":"https://avatars.githubusercontent.com/u/6309070?v=3","gravatar_id":"","url":"https://api.github.com/users/cartermp","html_url":"https://github.com/cartermp","followers_url":"https://api.github.com/users/cartermp/followers","following_url":"https://api.github.com/users/cartermp/following{/other_user}","gists_url":"https://api.github.com/users/cartermp/gists{/gist_id}","starred_url":"https://api.github.com/users/cartermp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartermp/subscriptions","organizations_url":"https://api.github.com/users/cartermp/orgs","repos_url":"https://api.github.com/users/cartermp/repos","events_url":"https://api.github.com/users/cartermp/events{/privacy}","received_events_url":"https://api.github.com/users/cartermp/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T16:18:55Z","updated_at":"2016-11-29T16:18:55Z","body":"So this may actually be a bug, not a feature request:\r\n\r\n![locals-current](https://cloud.githubusercontent.com/assets/6309070/20717971/226783c0-b60c-11e6-9d6e-81c4881c3a40.PNG)\r\n\r\n`right` is definitely not a constant, but it's being classified as such.  My expectation would be that this would be classified under Locals and Parameters like what I showed in the C# screenshot.  cc @OmarTawfik @Pilchie @brettfo "}}
{"actor":{"display_login":"cartermp"}}