vscode-powershell: Extension commands loaded in PowerShell profile are not being registered
System Details
- Operating system name and version: Windows 10
- VS Code version: 1.9.0 Insiders
- PowerShell extension version: 8.0
- Output from
$PSVersionTable:
Name Value
---- -----
PSVersion 5.1.14393.187
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.187
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
When trying to load the Editor Command menu, v8.0 throws the following error
No extension commands have been loaded into the current session.
The logs show that my Editor Commands were successfully registered. They are in my VSCode profile.
Attached Logs
Here are the logs Gist
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 18 (7 by maintainers)
Commits related to this issue
- Fix #396: Extension commands loaded in profile are not being registered This change fixes an issue caused by the recent extension code refactoring which prevents extension commands from being registe... — committed to PowerShell/vscode-powershell by daviwil 8 years ago
- Merge pull request #399 from PowerShell/daviwil/extcommand-fix Fix #396: Extension commands loaded in profile are not being registered — committed to PowerShell/vscode-powershell by daviwil 8 years ago
@gerane It should be working when you use F8 on an editor command registration after the profile has been loaded. Are you saying it isn’t working in that case?
Here’s a preview drop, I didn’t bump the version number so you might need to uninstall the existing 0.8.0:
PowerShell-0.8.0.zip
Rename .zip to .vsix and use the VSIX installation command in VS Code.