{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/5237","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/5237/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/5237/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/5237/events","html_url":"https://github.com/dotnet/roslyn/pull/5237","id":106497072,"number":5237,"title":"Improve the GenerateType code-actions menu experience.","user":{"login":"CyrusNajmabadi","id":4564579,"avatar_url":"https://avatars.githubusercontent.com/u/4564579?v=3","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-15T07:21:05Z","updated_at":"2015-09-15T18:05:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/roslyn/pulls/5237","html_url":"https://github.com/dotnet/roslyn/pull/5237","diff_url":"https://github.com/dotnet/roslyn/pull/5237.diff","patch_url":"https://github.com/dotnet/roslyn/pull/5237.patch"},"body":"1. Put generate-type actions under a higher level \"Generate Type\" menu item if there are a lot of items in the code actions list.\r\n2. If there aren't a lot of actions, then inline the items.\r\n3. Simplify the wording of the \"Generate type\" actions to make the menu items cleaner.\r\n4. Provide simple APIs to allow users to create top level menu actions with sub actions."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/140485647","html_url":"https://github.com/dotnet/roslyn/pull/5237#issuecomment-140485647","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/5237","id":140485647,"user":{"login":"CyrusNajmabadi","id":4564579,"avatar_url":"https://avatars.githubusercontent.com/u/4564579?v=3","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T18:05:48Z","updated_at":"2015-09-15T18:05:48Z","body":"@balajikris It's actually false in the code action we make for the \"Action with nested children\".  Effectively, we don't want to inline nested children if their parent is invokable itself.  We only can inline if the parent effectively serves only as a title and has no other purpose.  "}}