{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/comments/24107800","id":24107800,"diff_hunk":"@@ -474,6 +474,75 @@ type AutoCompletionListTests() as this  =\n                 \"type B() = inherit A(System.String.)\"\n             ]\n         AssertCtrlSpaceCompleteContains code \"System.String.\" [\"Empty\"] [\"Array\"; \"Collections\"]\n+    \n+    [<Test>]\n+    [<Category(\"Completion in object initializer\")>]\n+    member public this.``ObjectInitializer.CompletionForProperties``() =\n+        let typeDef1 = \n+            [\n+                \"type A() = \"\n+                \"   member val SettableProperty = 1 with get,set\"\n+                \"   member val AnotherSettableProperty = 1 with get,set\"\n+                \"   member val NonSettableProperty = 1\"\n+            ]\n+        AssertCtrlSpaceCompleteContains (typeDef1 @ [\"A((**))\"]) \"A((**)\" [\"SettableProperty\"; \"AnotherSettableProperty\"] [\"NonSettableProperty\"] \n+        AssertCtrlSpaceCompleteContains (typeDef1 @ [\"A(S = 1)\"]) \"A(S\" [\"SettableProperty\"] [\"NonSettableProperty\"] \n+        AssertCtrlSpaceCompleteContains (typeDef1 @ [\"A(S = 1)\"]) \"A(S = 1\" [] [\"SettableProperty\"; \"NonSettableProperty\"] // neg test\n+        AssertCtrlSpaceCompleteContains (typeDef1 @ [\"A(S = 1,)\"]) \"A(S = 1,\" [\"AnotherSettableProperty\"] [\"NonSettableProperty\"] \n+        AssertCtrlSpaceCompleteContains (typeDef1 @ [\"new A((**))\"]) \"A((**)\" [\"SettableProperty\"; \"AnotherSettableProperty\"] [\"NonSettableProperty\"] \n+        AssertCtrlSpaceCompleteContains (typeDef1 @ [\"new A(S = 1)\"]) \"A(S\" [\"SettableProperty\"] [\"NonSettableProperty\"] \n+        AssertCtrlSpaceCompleteContains (typeDef1 @ [\"new A(S = 1)\"]) \"A(S = 1\" [] [\"SettableProperty\"; \"NonSettableProperty\"] // neg test\n+        AssertCtrlSpaceCompleteContains (typeDef1 @ [\"new A(S = 1,)\"]) \"A(S = 1,\" [\"AnotherSettableProperty\"] [\"NonSettableProperty\"] \n+\n+        let typeDef2 = \n+            [\n+                \"type A<'a>() = \"\n+                \"   member val SettableProperty = 1 with get,set\"\n+                \"   member val AnotherSettableProperty = 1 with get,set\"\n+                \"   member val NonSettableProperty = 1\"","path":"vsintegration/src/unittests/Tests.LanguageService.Completion.fs","position":29,"original_position":29,"commit_id":"d4dd8389db1e97fe842529257da90a5218b7f195","original_commit_id":"f17c57d250691a37811bdb82b7294b65ddc93676","user":{"login":"dsyme","id":7204669,"avatar_url":"https://avatars.githubusercontent.com/u/7204669?v=3","gravatar_id":"","url":"https://api.github.com/users/dsyme","html_url":"https://github.com/dsyme","followers_url":"https://api.github.com/users/dsyme/followers","following_url":"https://api.github.com/users/dsyme/following{/other_user}","gists_url":"https://api.github.com/users/dsyme/gists{/gist_id}","starred_url":"https://api.github.com/users/dsyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsyme/subscriptions","organizations_url":"https://api.github.com/users/dsyme/orgs","repos_url":"https://api.github.com/users/dsyme/repos","events_url":"https://api.github.com/users/dsyme/events{/privacy}","received_events_url":"https://api.github.com/users/dsyme/received_events","type":"User","site_admin":false},"body":"OK, we can take named parameters as a separate PR :) ","created_at":"2015-02-04T18:47:27Z","updated_at":"2015-02-04T18:47:27Z","html_url":"https://github.com/Microsoft/visualfsharp/pull/197#discussion_r24107800","pull_request_url":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/197","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/comments/24107800"},"html":{"href":"https://github.com/Microsoft/visualfsharp/pull/197#discussion_r24107800"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/197"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/197","id":28438958,"html_url":"https://github.com/Microsoft/visualfsharp/pull/197","diff_url":"https://github.com/Microsoft/visualfsharp/pull/197.diff","patch_url":"https://github.com/Microsoft/visualfsharp/pull/197.patch","issue_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/197","number":197,"state":"open","locked":false,"title":"Completion in object initializers","user":{"login":"vladima","id":8052307,"avatar_url":"https://avatars.githubusercontent.com/u/8052307?v=3","gravatar_id":"","url":"https://api.github.com/users/vladima","html_url":"https://github.com/vladima","followers_url":"https://api.github.com/users/vladima/followers","following_url":"https://api.github.com/users/vladima/following{/other_user}","gists_url":"https://api.github.com/users/vladima/gists{/gist_id}","starred_url":"https://api.github.com/users/vladima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladima/subscriptions","organizations_url":"https://api.github.com/users/vladima/orgs","repos_url":"https://api.github.com/users/vladima/repos","events_url":"https://api.github.com/users/vladima/events{/privacy}","received_events_url":"https://api.github.com/users/vladima/received_events","type":"User","site_admin":false},"body":"![propertycompletion](https://cloud.githubusercontent.com/assets/8052307/5994329/5a14707c-aa23-11e4-9530-f360f860ad19.gif)\r\nFixes #119","created_at":"2015-02-01T23:03:09Z","updated_at":"2015-02-04T18:47:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09241c8af7e9219f6551d2e700bbf1d6adc4752c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/197/commits","review_comments_url":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/197/comments","review_comment_url":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/197/comments","statuses_url":"https://api.github.com/repos/Microsoft/visualfsharp/statuses/d4dd8389db1e97fe842529257da90a5218b7f195","head":{"label":"vladima:completionInObjectInitializer","ref":"completionInObjectInitializer","sha":"d4dd8389db1e97fe842529257da90a5218b7f195","user":{"login":"vladima","id":8052307,"avatar_url":"https://avatars.githubusercontent.com/u/8052307?v=3","gravatar_id":"","url":"https://api.github.com/users/vladima","html_url":"https://github.com/vladima","followers_url":"https://api.github.com/users/vladima/followers","following_url":"https://api.github.com/users/vladima/following{/other_user}","gists_url":"https://api.github.com/users/vladima/gists{/gist_id}","starred_url":"https://api.github.com/users/vladima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladima/subscriptions","organizations_url":"https://api.github.com/users/vladima/orgs","repos_url":"https://api.github.com/users/vladima/repos","events_url":"https://api.github.com/users/vladima/events{/privacy}","received_events_url":"https://api.github.com/users/vladima/received_events","type":"User","site_admin":false},"repo":{"id":29766845,"name":"visualfsharp","full_name":"vladima/visualfsharp","owner":{"login":"vladima","id":8052307,"avatar_url":"https://avatars.githubusercontent.com/u/8052307?v=3","gravatar_id":"","url":"https://api.github.com/users/vladima","html_url":"https://github.com/vladima","followers_url":"https://api.github.com/users/vladima/followers","following_url":"https://api.github.com/users/vladima/following{/other_user}","gists_url":"https://api.github.com/users/vladima/gists{/gist_id}","starred_url":"https://api.github.com/users/vladima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladima/subscriptions","organizations_url":"https://api.github.com/users/vladima/orgs","repos_url":"https://api.github.com/users/vladima/repos","events_url":"https://api.github.com/users/vladima/events{/privacy}","received_events_url":"https://api.github.com/users/vladima/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vladima/visualfsharp","description":"The Visual F# compiler and tools","fork":true,"url":"https://api.github.com/repos/vladima/visualfsharp","forks_url":"https://api.github.com/repos/vladima/visualfsharp/forks","keys_url":"https://api.github.com/repos/vladima/visualfsharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vladima/visualfsharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vladima/visualfsharp/teams","hooks_url":"https://api.github.com/repos/vladima/visualfsharp/hooks","issue_events_url":"https://api.github.com/repos/vladima/visualfsharp/issues/events{/number}","events_url":"https://api.github.com/repos/vladima/visualfsharp/events","assignees_url":"https://api.github.com/repos/vladima/visualfsharp/assignees{/user}","branches_url":"https://api.github.com/repos/vladima/visualfsharp/branches{/branch}","tags_url":"https://api.github.com/repos/vladima/visualfsharp/tags","blobs_url":"https://api.github.com/repos/vladima/visualfsharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vladima/visualfsharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vladima/visualfsharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/vladima/visualfsharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vladima/visualfsharp/statuses/{sha}","languages_url":"https://api.github.com/repos/vladima/visualfsharp/languages","stargazers_url":"https://api.github.com/repos/vladima/visualfsharp/stargazers","contributors_url":"https://api.github.com/repos/vladima/visualfsharp/contributors","subscribers_url":"https://api.github.com/repos/vladima/visualfsharp/subscribers","subscription_url":"https://api.github.com/repos/vladima/visualfsharp/subscription","commits_url":"https://api.github.com/repos/vladima/visualfsharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/vladima/visualfsharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/vladima/visualfsharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/vladima/visualfsharp/issues/comments/{number}","contents_url":"https://api.github.com/repos/vladima/visualfsharp/contents/{+path}","compare_url":"https://api.github.com/repos/vladima/visualfsharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vladima/visualfsharp/merges","archive_url":"https://api.github.com/repos/vladima/visualfsharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vladima/visualfsharp/downloads","issues_url":"https://api.github.com/repos/vladima/visualfsharp/issues{/number}","pulls_url":"https://api.github.com/repos/vladima/visualfsharp/pulls{/number}","milestones_url":"https://api.github.com/repos/vladima/visualfsharp/milestones{/number}","notifications_url":"https://api.github.com/repos/vladima/visualfsharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vladima/visualfsharp/labels{/name}","releases_url":"https://api.github.com/repos/vladima/visualfsharp/releases{/id}","created_at":"2015-01-24T05:36:11Z","updated_at":"2015-01-24T05:36:27Z","pushed_at":"2015-02-04T00:21:05Z","git_url":"git://github.com/vladima/visualfsharp.git","ssh_url":"git@github.com:vladima/visualfsharp.git","clone_url":"https://github.com/vladima/visualfsharp.git","svn_url":"https://github.com/vladima/visualfsharp","homepage":null,"size":47728,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"fsharp4"}},"base":{"label":"Microsoft:fsharp4","ref":"fsharp4","sha":"cd3f4417f5a9754849387ae0a1f44f407f2987d0","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":29048891,"name":"visualfsharp","full_name":"Microsoft/visualfsharp","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/visualfsharp","description":"The Visual F# compiler and tools","fork":false,"url":"https://api.github.com/repos/Microsoft/visualfsharp","forks_url":"https://api.github.com/repos/Microsoft/visualfsharp/forks","keys_url":"https://api.github.com/repos/Microsoft/visualfsharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/visualfsharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/visualfsharp/teams","hooks_url":"https://api.github.com/repos/Microsoft/visualfsharp/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/visualfsharp/events","assignees_url":"https://api.github.com/repos/Microsoft/visualfsharp/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/visualfsharp/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/visualfsharp/tags","blobs_url":"https://api.github.com/repos/Microsoft/visualfsharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/visualfsharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/visualfsharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/visualfsharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/visualfsharp/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/visualfsharp/languages","stargazers_url":"https://api.github.com/repos/Microsoft/visualfsharp/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/visualfsharp/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/visualfsharp/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/visualfsharp/subscription","commits_url":"https://api.github.com/repos/Microsoft/visualfsharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/visualfsharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/visualfsharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues/comments/{number}","contents_url":"https://api.github.com/repos/Microsoft/visualfsharp/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/visualfsharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/visualfsharp/merges","archive_url":"https://api.github.com/repos/Microsoft/visualfsharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/visualfsharp/downloads","issues_url":"https://api.github.com/repos/Microsoft/visualfsharp/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/visualfsharp/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/visualfsharp/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/visualfsharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/visualfsharp/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/visualfsharp/releases{/id}","created_at":"2015-01-10T05:58:43Z","updated_at":"2015-02-04T18:15:49Z","pushed_at":"2015-02-04T18:15:34Z","git_url":"git://github.com/Microsoft/visualfsharp.git","ssh_url":"git@github.com:Microsoft/visualfsharp.git","clone_url":"https://github.com/Microsoft/visualfsharp.git","svn_url":"https://github.com/Microsoft/visualfsharp","homepage":null,"size":50760,"stargazers_count":271,"watchers_count":271,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":114,"forks":40,"open_issues":114,"watchers":271,"default_branch":"fsharp4"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/197"},"html":{"href":"https://github.com/Microsoft/visualfsharp/pull/197"},"issue":{"href":"https://api.github.com/repos/Microsoft/visualfsharp/issues/197"},"comments":{"href":"https://api.github.com/repos/Microsoft/visualfsharp/issues/197/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/197/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/visualfsharp/pulls/197/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/visualfsharp/statuses/d4dd8389db1e97fe842529257da90a5218b7f195"}}}}