{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/47","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/47/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/47/events","html_url":"https://github.com/dotnet/roslyn/issues/47","id":55006774,"number":47,"title":"API Proposal: OptionSet handling","user":{"login":"mkrueger","id":341098,"avatar_url":"https://avatars.githubusercontent.com/u/341098?v=3","gravatar_id":"","url":"https://api.github.com/users/mkrueger","html_url":"https://github.com/mkrueger","followers_url":"https://api.github.com/users/mkrueger/followers","following_url":"https://api.github.com/users/mkrueger/following{/other_user}","gists_url":"https://api.github.com/users/mkrueger/gists{/gist_id}","starred_url":"https://api.github.com/users/mkrueger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkrueger/subscriptions","organizations_url":"https://api.github.com/users/mkrueger/orgs","repos_url":"https://api.github.com/users/mkrueger/repos","events_url":"https://api.github.com/users/mkrueger/events{/privacy}","received_events_url":"https://api.github.com/users/mkrueger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/API","name":"API","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Enhancement","name":"Enhancement","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/2","html_url":"https://github.com/dotnet/roslyn/milestones/Unknown","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/2/labels","id":937398,"number":2,"title":"Unknown","description":"This represents work which is not planned for a specific release.\r\n\r\n<!---\r\n@huboard:{\"order\":0.25}\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":279,"closed_issues":59,"state":"open","created_at":"2015-01-15T20:46:02Z","updated_at":"2015-06-18T16:47:31Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-01-21T11:26:01Z","updated_at":"2015-06-23T00:13:44Z","closed_at":null,"body":"- Currently OptionSets are handled at Workspace level. Moving them to the Project level would allow more fine grained option scenarios.\r\n\r\n-Why it's not possible to create own option sets or provide option services ?\r\n\r\nIn general the option API seems to be tailored for a 'read only' use.\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/114310020","html_url":"https://github.com/dotnet/roslyn/issues/47#issuecomment-114310020","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/47","id":114310020,"user":{"login":"paulvanbrenk","id":5273975,"avatar_url":"https://avatars.githubusercontent.com/u/5273975?v=3","gravatar_id":"","url":"https://api.github.com/users/paulvanbrenk","html_url":"https://github.com/paulvanbrenk","followers_url":"https://api.github.com/users/paulvanbrenk/followers","following_url":"https://api.github.com/users/paulvanbrenk/following{/other_user}","gists_url":"https://api.github.com/users/paulvanbrenk/gists{/gist_id}","starred_url":"https://api.github.com/users/paulvanbrenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulvanbrenk/subscriptions","organizations_url":"https://api.github.com/users/paulvanbrenk/orgs","repos_url":"https://api.github.com/users/paulvanbrenk/repos","events_url":"https://api.github.com/users/paulvanbrenk/events{/privacy}","received_events_url":"https://api.github.com/users/paulvanbrenk/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T00:13:44Z","updated_at":"2015-06-23T00:13:44Z","body":"+1 for making the OptionSet more useful. \r\n\r\n**Use case**\r\nIn the codeformatter project [https://github.com/dotnet/codeformatter], the code in the project is formatted using the standard Roslyn formatter. This formatter however uses the default formatting options, e.g. \"Open Brace on New Line for types\", unless you supply an OptionSet, however there is currently no way to instantiate that class since the constructor is internal and the class is sealed.\r\n"}}