Skip to content

EditorServices is missing #1163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
artisticcheese opened this issue Jan 13, 2018 · 2 comments
Closed

EditorServices is missing #1163

artisticcheese opened this issue Jan 13, 2018 · 2 comments

Comments

@artisticcheese
Copy link

artisticcheese commented Jan 13, 2018

System Details

  • Operating system name and version:
    Windows 2016 1607
  • VS Code version:
    1.19.2
  • PowerShell extension version:
    1.5.1
  • Output from $PSVersionTable:

Name Value


PSVersion 5.1.14393.1944
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.1944
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Copy / paste the following commands into the PowerShell Integrated Console, and paste the output here:

code -v
1.19.2
490ef761b76b3f3b3832eff7a588aac891e5fe80
x64
$pseditor.EditorServicesVersion
<null>
code --list-extensions --show-versions
ms-vscode.PowerShell@1.5.1
$PSVersionTable
Name                           Value                                                                                                                                                                                      
----                           -----                                                                                                                                                                                      
PSVersion                      5.1.14393.1944                                                                                                                                                                             
PSEdition                      Desktop                                                                                                                                                                                    
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                                                    
BuildVersion                   10.0.14393.1944                                                                                                                                                                            
CLRVersion                     4.0.30319.42000                                                                                                                                                                            
WSManStackVersion              3.0                                                                                                                                                                                        
PSRemotingProtocolVersion      2.3                                                                                                                                                                                        
SerializationVersion           1.1.0.1     

Issue Description

Somehow after installation of VS Code I don't EditorServices installed, for example launching psedit ending up with "can not find program" error. Folders are present with services

    Directory: C:\Users\cloudadmin\.vscode\extensions\ms-vscode.powershell-1.5.1\modules


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        1/13/2018  10:44 PM                Plaster
d-----        1/13/2018  10:44 PM                PowerShellEditorServices
d-----        1/13/2018  10:44 PM                PowerShellEditorServices.VSCode
d-----        1/13/2018  10:44 PM                PSScriptAnalyzer
-a----        1/13/2018  10:44 PM            370 README.md

But get-module does not find them (returns null)

get-module -ListAvailable -Name powershelleditorservices

Looks like result that VScode does not add that folder to $env:PSModulepath

Attached Logs

Follow the instructions in the README
about capturing and sending logs.

@TylerLeonhardt
Copy link
Member

@artisticcheese Can you confirm that you were trying to use psedit via the Integrated Console and not the default powershell console that ships with vscode?

@artisticcheese
Copy link
Author

Issue is local to my environment and not reproducible, so will close it unless will find repro steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants