{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/csharplang/issues/2078","repository_url":"https://api.github.com/repos/dotnet/csharplang","labels_url":"https://api.github.com/repos/dotnet/csharplang/issues/2078/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/csharplang/issues/2078/comments","events_url":"https://api.github.com/repos/dotnet/csharplang/issues/2078/events","html_url":"https://github.com/dotnet/csharplang/issues/2078","id":391352299,"node_id":"MDU6SXNzdWUzOTEzNTIyOTk=","number":2078,"title":"Enumerate used classes in using namespaces statement .","user":{"login":"alexpantyukhin","id":6513121,"node_id":"MDQ6VXNlcjY1MTMxMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/6513121?v=4","gravatar_id":"","url":"https://api.github.com/users/alexpantyukhin","html_url":"https://github.com/alexpantyukhin","followers_url":"https://api.github.com/users/alexpantyukhin/followers","following_url":"https://api.github.com/users/alexpantyukhin/following{/other_user}","gists_url":"https://api.github.com/users/alexpantyukhin/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpantyukhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpantyukhin/subscriptions","organizations_url":"https://api.github.com/users/alexpantyukhin/orgs","repos_url":"https://api.github.com/users/alexpantyukhin/repos","events_url":"https://api.github.com/users/alexpantyukhin/events{/privacy}","received_events_url":"https://api.github.com/users/alexpantyukhin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-15T07:14:23Z","updated_at":"2018-12-15T13:54:53Z","closed_at":null,"author_association":"NONE","body":"## Motivation: \r\nThis idea came from from java and python. This feature helps to show strictly what is used and what namespaces it come from.\r\nEspecially when serfing code files not from IDE (some web resource github gitlab...)\r\n\r\n\r\n## Example:\r\n```csharp\r\nusing System with Console, Random;\r\n\r\nnamespace HelloWorld\r\n{\r\n    public class Hello \r\n    {\r\n        public static void Main() \r\n        {\r\n            var rInt = (new Random()).Next(0, 100);\r\n            Console.WriteLine(\"Random value is: \" + rInt.ToString());\r\n\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nDefault behavior without `with` will work as it is now (import all classes, enums from namespaces) and this change will not break the existings programs.\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/csharplang/issues/comments/447570347","html_url":"https://github.com/dotnet/csharplang/issues/2078#issuecomment-447570347","issue_url":"https://api.github.com/repos/dotnet/csharplang/issues/2078","id":447570347,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzU3MDM0Nw==","user":{"login":"svick","id":287848,"node_id":"MDQ6VXNlcjI4Nzg0OA==","avatar_url":"https://avatars3.githubusercontent.com/u/287848?v=4","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"created_at":"2018-12-15T13:54:53Z","updated_at":"2018-12-15T13:54:53Z","author_association":"CONTRIBUTOR","body":"@alexpantyukhin If you want to be explicit, you have a syntax for that. If you want to be compact, you have a syntax for that. The thing that's missing is a syntax that's both explicit and compact. Considering that the explicit syntax is almost never used for this purpose, I think that shows that there isn't much point in adding a more compact syntax for this."}}
{"actor":{"display_login":"svick"}}