{"action":"created","issue":{"url":"https://api.github.com/repos/SeeminglyScience/EditorServicesCommandSuite/issues/31","repository_url":"https://api.github.com/repos/SeeminglyScience/EditorServicesCommandSuite","labels_url":"https://api.github.com/repos/SeeminglyScience/EditorServicesCommandSuite/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/SeeminglyScience/EditorServicesCommandSuite/issues/31/comments","events_url":"https://api.github.com/repos/SeeminglyScience/EditorServicesCommandSuite/issues/31/events","html_url":"https://github.com/SeeminglyScience/EditorServicesCommandSuite/issues/31","id":350731671,"node_id":"MDU6SXNzdWUzNTA3MzE2NzE=","number":31,"title":"Error when profile loads (all hosts)","user":{"login":"fatherjack","id":2597535,"node_id":"MDQ6VXNlcjI1OTc1MzU=","avatar_url":"https://avatars1.githubusercontent.com/u/2597535?v=4","gravatar_id":"","url":"https://api.github.com/users/fatherjack","html_url":"https://github.com/fatherjack","followers_url":"https://api.github.com/users/fatherjack/followers","following_url":"https://api.github.com/users/fatherjack/following{/other_user}","gists_url":"https://api.github.com/users/fatherjack/gists{/gist_id}","starred_url":"https://api.github.com/users/fatherjack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatherjack/subscriptions","organizations_url":"https://api.github.com/users/fatherjack/orgs","repos_url":"https://api.github.com/users/fatherjack/repos","events_url":"https://api.github.com/users/fatherjack/events{/privacy}","received_events_url":"https://api.github.com/users/fatherjack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-15T08:44:20Z","updated_at":"2018-09-18T16:03:05Z","closed_at":null,"author_association":"NONE","body":"As per the advice I have inserted the following to my profile \r\n```powershell\r\nImport-Module EditorServicesCommandSuite\r\nImport-EditorCommand -Module EditorServicesCommandSuite\r\n```\r\nThis was working for some time but \r\n\r\nhowever, each time my profile now loads now I get \r\n```\r\nImport-EditorCommand : The term 'Import-EditorCommand' is not recognized as the name of a cmdlet, function, script file,\r\n```\r\n\r\nwhat have I done wrong please?"},"comment":{"url":"https://api.github.com/repos/SeeminglyScience/EditorServicesCommandSuite/issues/comments/422452267","html_url":"https://github.com/SeeminglyScience/EditorServicesCommandSuite/issues/31#issuecomment-422452267","issue_url":"https://api.github.com/repos/SeeminglyScience/EditorServicesCommandSuite/issues/31","id":422452267,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjQ1MjI2Nw==","user":{"login":"SeeminglyScience","id":24977523,"node_id":"MDQ6VXNlcjI0OTc3NTIz","avatar_url":"https://avatars3.githubusercontent.com/u/24977523?v=4","gravatar_id":"","url":"https://api.github.com/users/SeeminglyScience","html_url":"https://github.com/SeeminglyScience","followers_url":"https://api.github.com/users/SeeminglyScience/followers","following_url":"https://api.github.com/users/SeeminglyScience/following{/other_user}","gists_url":"https://api.github.com/users/SeeminglyScience/gists{/gist_id}","starred_url":"https://api.github.com/users/SeeminglyScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeeminglyScience/subscriptions","organizations_url":"https://api.github.com/users/SeeminglyScience/orgs","repos_url":"https://api.github.com/users/SeeminglyScience/repos","events_url":"https://api.github.com/users/SeeminglyScience/events{/privacy}","received_events_url":"https://api.github.com/users/SeeminglyScience/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T16:03:05Z","updated_at":"2018-09-18T16:03:05Z","author_association":"OWNER","body":"@sheldonhull Ah yeah that's a bit different.  Looks like the `Commands` module isn't loading automatically in that preview.\r\n\r\nIn the mean time as a workaround you can import it directly in your profile.  I have something like this as the first line in my profile:\r\n\r\n```powershell\r\nImport-Module $HOME\\.vscode\\extensions\\ms-vscode.powershell-2.0.0\\modules\\PowerShellEditorServices\\Commands\\PowerShellEditorServices.Commands.psd1\r\n```\r\n\r\nIf your vscode extension path is different or you're not on Windows the path will need to change, but that should work until it's put back into the build.\r\n\r\nI'm going to leave this issue open until it's fixed in the nightly so it's discoverable."}}
{"actor":{"display_login":"SeeminglyScience"}}