{"action":"closed","issue":{"url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/1011","repository_url":"https://api.github.com/repos/PowerShell/vscode-powershell","labels_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/1011/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/1011/comments","events_url":"https://api.github.com/repos/PowerShell/vscode-powershell/issues/1011/events","html_url":"https://github.com/PowerShell/vscode-powershell/issues/1011","id":253032593,"node_id":"MDU6SXNzdWUyNTMwMzI1OTM=","number":1011,"title":"Starting Code results in \"PowerShell language features are disabled due to an unsupported LanguageMode: ConstrainedLanguage\" message","user":{"login":"johnnyreilly","id":1010525,"node_id":"MDQ6VXNlcjEwMTA1MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/1010525?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnyreilly","html_url":"https://github.com/johnnyreilly","followers_url":"https://api.github.com/users/johnnyreilly/followers","following_url":"https://api.github.com/users/johnnyreilly/following{/other_user}","gists_url":"https://api.github.com/users/johnnyreilly/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyreilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyreilly/subscriptions","organizations_url":"https://api.github.com/users/johnnyreilly/orgs","repos_url":"https://api.github.com/users/johnnyreilly/repos","events_url":"https://api.github.com/users/johnnyreilly/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyreilly/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-25T22:29:37Z","updated_at":"2018-10-04T21:29:58Z","closed_at":"2018-10-04T21:29:58Z","author_association":"NONE","body":"Raising here after being directed to here: https://github.com/Microsoft/vscode/issues/33143\r\n\r\n- VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:07:25.676Z)\r\n- OS Version: Windows_NT x64 6.1.7601\r\n- Extensions: \r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\ntslint|eg2|0.17.0\r\ncsharp|ms-|1.12.1\r\nPowerShell|ms-|1.4.1\r\nvscode-docker|Pet|0.0.16\r\nvscode-icons|rob|7.12.0\r\nshell-launcher|Tyr|0.1.3\r\n\r\n\r\n\r\n---\r\n\r\nSteps to Reproduce:\r\n\r\n1. Start up Code\r\n2. Open up the Terminal\r\n3. Observe \"PowerShell language features are disabled due to an unsupported LanguageMode: ConstrainedLanguage\" error\r\n\r\nIf you look at the logs you see this:\r\n\r\n```\r\n[10:58:54] Language server starting...\r\npowershell.exe started --\r\n    pid: 11060\r\n    exe: C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\r\n    args: C:\\Users\\jreilly\\.vscode\\extensions\\ms-vscode.powershell-1.4.1\\scripts\\Start-EditorServices.ps1 -EditorServicesVersion '1.4.1' -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '1.4.1' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'C:\\Users\\jreilly\\.vscode\\extensions\\ms-vscode.powershell-1.4.1\\modules' -EnableConsoleRepl -LogLevel 'Normal' -LogPath 'C:\\Users\\jreilly\\.vscode\\extensions\\ms-vscode.powershell-1.4.1\\logs\\1503655134-00c42217-4248-45b7-a606-46f526fd4a5a1503655127754\\EditorServices.log' -SessionDetailsPath 'C:\\Users\\jreilly\\.vscode\\extensions\\ms-vscode.powershell-1.4.1\\sessions\\PSES-VSCode-3976-523561' -FeatureFlags @()\r\n\r\n\r\nPowerShell language features are disabled due to an unsupported LanguageMode: ConstrainedLanguage\r\n\r\npowershell.exe terminated or terminal UI was closed\r\n```\r\n\r\nInterestingly, I have my terminal configured using `userSettings.json`:\r\n\r\n```\r\n    \"terminal.integrated.shell.windows\": \"C:\\\\Windows\\\\sysnative\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\",\r\n```\r\n\r\nAnd I can open those terminals just fine.  Note that the erroring version is using a different exe: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`.  \r\n\r\nCan we configure the integrated to use the `sysnative` version as well?  Would that solve the problem?"}}
{"actor":{"display_login":"tylerl0706"}}