{"action":"created","issue":{"url":"https://api.github.com/repos/cybertim/vscode-gengetset/issues/7","repository_url":"https://api.github.com/repos/cybertim/vscode-gengetset","labels_url":"https://api.github.com/repos/cybertim/vscode-gengetset/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/cybertim/vscode-gengetset/issues/7/comments","events_url":"https://api.github.com/repos/cybertim/vscode-gengetset/issues/7/events","html_url":"https://github.com/cybertim/vscode-gengetset/issues/7","id":153998803,"number":7,"title":"Wrong slashes on windows and importing 'enum'","user":{"login":"johan-gorter","id":3057773,"avatar_url":"https://avatars.githubusercontent.com/u/3057773?v=3","gravatar_id":"","url":"https://api.github.com/users/johan-gorter","html_url":"https://github.com/johan-gorter","followers_url":"https://api.github.com/users/johan-gorter/followers","following_url":"https://api.github.com/users/johan-gorter/following{/other_user}","gists_url":"https://api.github.com/users/johan-gorter/gists{/gist_id}","starred_url":"https://api.github.com/users/johan-gorter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johan-gorter/subscriptions","organizations_url":"https://api.github.com/users/johan-gorter/orgs","repos_url":"https://api.github.com/users/johan-gorter/repos","events_url":"https://api.github.com/users/johan-gorter/events{/privacy}","received_events_url":"https://api.github.com/users/johan-gorter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cybertim/vscode-gengetset/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-10T12:53:01Z","updated_at":"2016-05-12T10:09:59Z","closed_at":null,"body":"I tried your promising import assist, the result is not working as expected. I had the following import statements before running `Import Assistant` and I wanted to import `DataAnalysis` and `TaskExecutionContext`.\r\n\r\n```ts\r\nimport {Content, ContentType} from './content';\r\nimport {DataType} from '../model/data-types';\r\nimport {Lookup} from '../common/utilities';\r\nimport {ItemsLoader, PageResult, ScreenAction, Item} from './interfaces';\r\nimport {FilterConfig} from './reference-field-config';\r\nimport {Collection} from '../model/collection';\r\nimport {Blueprint} from './blueprint';\r\nimport {GenericModel} from '../model/model';\r\n```\r\n\r\nThe following was the result:\r\n\r\n```ts\r\nimport {GenericModel} from '..\\model\\model';\r\nimport {dataType} from '..\\model\\data-types';\r\nimport {enum} from '..\\composers\\control-composer';\r\nimport {enum, id} from '..\\control-library\\utilities';\r\nimport {type} from '..\\implementations\\operations\\unary\\subattributes';\r\nimport {Content, ContentType} from './content';\r\nimport {DataType} from '../model/data-types';\r\nimport {Lookup} from '../common/utilities';\r\nimport {ItemsLoader, PageResult, ScreenAction, Item, enum, DataAnalysis, TaskExecutionContext} from './interfaces';\r\nimport {FilterConfig} from './reference-field-config';\r\nimport {Collection} from '../model/collection';\r\nimport {Blueprint} from './blueprint';\r\nimport {GenericModel} from '../model/model';\r\n```\r\n\r\nTwo errors stand out immediately: the use of backslashes (I am running on a windows platform) and the import of `enum` from various places.\r\n\r\nI hope you can fix this."},"comment":{"url":"https://api.github.com/repos/cybertim/vscode-gengetset/issues/comments/218715194","html_url":"https://github.com/cybertim/vscode-gengetset/issues/7#issuecomment-218715194","issue_url":"https://api.github.com/repos/cybertim/vscode-gengetset/issues/7","id":218715194,"user":{"login":"johan-gorter","id":3057773,"avatar_url":"https://avatars.githubusercontent.com/u/3057773?v=3","gravatar_id":"","url":"https://api.github.com/users/johan-gorter","html_url":"https://github.com/johan-gorter","followers_url":"https://api.github.com/users/johan-gorter/followers","following_url":"https://api.github.com/users/johan-gorter/following{/other_user}","gists_url":"https://api.github.com/users/johan-gorter/gists{/gist_id}","starred_url":"https://api.github.com/users/johan-gorter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johan-gorter/subscriptions","organizations_url":"https://api.github.com/users/johan-gorter/orgs","repos_url":"https://api.github.com/users/johan-gorter/repos","events_url":"https://api.github.com/users/johan-gorter/events{/privacy}","received_events_url":"https://api.github.com/users/johan-gorter/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T10:09:59Z","updated_at":"2016-05-12T10:09:59Z","body":"This is done like this:\r\n\r\n```ts\r\nexport const enum ControlContextMode {\r\n  FIELD_GROUP,\r\n  LIST\r\n}\r\n```"}}