PowerShell / PowerShell/PowerShellEditorServices

Helix Integration No Longer Works in v3.11.0+

Ouverte
#2,215 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Issue-Bug Needs: Triage
Langage dominant
C#
Étoiles
767
Forks
266
Merge moyen
3 j 16 h
PR mergées (30 j)
1

Description

Prerequisites
  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with PowerShell Editor Services itself and does not reproduce in a standalone PowerShell instance, and is not an issue with my editor.
  • I have verified that I am using the latest version of PowerShell Editor Services.
  • If this is a security issue, I have read the security issue reporting guidance.
Summary

I am using the Helix editor (https://github.com/helix-editor/helix).
If I download the v3.10.0 release zip and extract it in C:\tools with the following config, then it works as expected. Meaning I get code analysis and suggestions within the editor. If I try the same thing with v3.11.0 or anything later including the latest v4.2.0, then it does not work. Meaning there is no code analysis or suggestions displaying within the editor. Please let me know what other information I can provide to help.

My languages.toml looks like this for powershell.

[[language]]
name = "powershell"
scope = "source.ps1"
file-types = ["ps1", "psm1"]
roots = [".git"]
comment-token = "#"
indent = { tab-width = 4, unit = "    " }
language-servers = ["powershell-editor-services"]

[language-server.powershell-editor-services]
command = "pwsh"
args = ["-NoLogo", "-NoProfile", "-Command", "C:\\tools\\PowerShellEditorServices\\PowerShellEditorServices\\Start-EditorServices.ps1 -BundledModulesPath C:\\tools\\PowerShellEditorServices -SessionDetailsPath C:\\tools\\PowerShellEditorServices\\PowerShellEditorServices.sessions.json -LogPath C:\\tools\\PowerShellEditorServices\\PowerShellEditorServices.log -FeatureFlags @() -AdditionalModules @() -HostName helix -HostProfileId 0 -HostVersion 1.0.0 -Stdio -LogLevel Normal"]

PowerShell Version
⟫ $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.6
PSEdition                      Core
GitCommitId                    7.4.6
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Editor Version
⟫ hx --version
helix 25.01.1 (aac0ce5f)
PowerShell Editor Services Version
Not familiar with using this service interactively.
Steps to Reproduce
  • Install Helix
  • Add configuration to languages.toml
  • Download Release v3.11.0
  • Unzip to C:\tools
  • Open a .ps1 file in Helix
Visuals

No response

Logs

I set the log level to Diagnostic.
StartEditorServices.log

[DBG]: Logging started
[DBG]: Beginning EndProcessing block
[VRB]: Removing PSReadLine
[DBG]: Creating host configuration
[DBG]: Determining REPL kind
[DBG]: REPL configured as None
[DBG]: Configuring LSP transport
[DBG]: Configuring debug transport
[DBG]: No debug transport: Transport is Stdio with debug disabled
[DBG]: Session file writer created
[VRB]: Adding AssemblyResolve event handler for new AssemblyLoadContext dependency loading
[VRB]: Loading EditorServices
[DBG]: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Runtime.InteropServices.RuntimeInformation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
[VRB]: PID: 18892
[VRB]: 
== Build Details ==
- Editor Services version: 3.11.0
- Build origin:            Release
- Build commit:            6921dcd6868a02811d10a16a6526f4416a8c73f6
- Build time:              9/13/2023 12:00:00 AM

[VRB]: 
== Host Startup Configuration Details ==
 - Host name:                 helix
 - Host version:              1.0.0
 - Host profile ID:           0
 - PowerShell host type:      System.Management.Automation.Internal.Host.InternalHost

 - REPL setting:              None
 - Session details path:      C:\tools\PowerShellEditorServices\PowerShellEditorServices.sessions.json
 - Bundled modules path:      C:\tools\PowerShellEditorServices
 - Additional modules:        
 - Feature flags:             

 - Log path:                  C:\tools\PowerShellEditorServices\PowerShellEditorServices.log
 - Minimum log level:         Diagnostic

 - Profile paths:
   + AllUsersAllHosts:       C:\Program Files\PowerShell\7\profile.ps1
   + AllUsersCurrentHost:    C:\Program Files\PowerShell\7\0_profile.ps1
   + CurrentUserAllHosts:    C:\Users\#####\Documents\PowerShell\profile.ps1
   + CurrentUserCurrentHost: C:\Users\#####\Documents\PowerShell\0_profile.ps1

[DBG]: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Commands.Diagnostics, Version=7.4.6.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
[DBG]: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Diagnostics.PerformanceCounter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
[DBG]: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Security, Version=7.4.6.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
[DBG]: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.WSMan.Management, Version=7.4.6.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
[DBG]: Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.WSMan.Runtime, Version=7.4.6.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
[VRB]: 
== Console Details ==
 - Console input encoding: OEM United States
 - Console output encoding: OEM United States
 - PowerShell output encoding: Unicode (UTF-8)

[VRB]: 
== Environment Details ==
 - OS description:  Microsoft Windows 10.0.26100
 - OS architecture: X64
 - Process bitness: 64

[VRB]: 
== PowerShell Details ==
- PowerShell version: 7.4.6
- Language mode:      FullLanguage

[VRB]: Updated PSModulePath to: 'C:\Users\#####\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\tools\PowerShellEditorServices'
[DBG]: Validating configuration
[VRB]: Loading PowerShell Editor Services
[DBG]: Assembly resolve event fired for Microsoft.PowerShell.EditorServices, Version=3.11.0.0, Culture=neutral, PublicKeyToken=null
[VRB]: Loading PSES DLL using new assembly load context
[DBG]: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.PowerShell.EditorServices, Version=3.11.0.0, Culture=neutral, PublicKeyToken=null
[VRB]: Starting EditorServices
[DBG]: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
[DBG]: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
[DBG]: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
[DBG]: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.Async, Version=1.5.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
[DBG]: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
[DBG]: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.File, Version=5.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
[DBG]: Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
[DBG]: Creating/running editor services
[DBG]: Creating startup info object
[VRB]: Starting server, deregistering host logger and registering shutdown listener

PowerShellEditorServices.log

2025-01-26 10:10:25.628 -06:00 [VRB] Logging started
2025-01-26 10:10:25.629 -06:00 [VRB] Beginning EndProcessing block
2025-01-26 10:10:25.629 -06:00 [DBG] Removing PSReadLine
2025-01-26 10:10:25.629 -06:00 [VRB] Creating host configuration
2025-01-26 10:10:25.629 -06:00 [VRB] Determining REPL kind
2025-01-26 10:10:25.629 -06:00 [VRB] REPL configured as None
2025-01-26 10:10:25.629 -06:00 [VRB] Configuring LSP transport
2025-01-26 10:10:25.629 -06:00 [VRB] Configuring debug transport
2025-01-26 10:10:25.629 -06:00 [VRB] No debug transport: Transport is Stdio with debug disabled
2025-01-26 10:10:25.629 -06:00 [VRB] Session file writer created
2025-01-26 10:10:25.629 -06:00 [DBG] Adding AssemblyResolve event handler for new AssemblyLoadContext dependency loading
2025-01-26 10:10:25.629 -06:00 [DBG] Loading EditorServices
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Runtime.InteropServices.RuntimeInformation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
2025-01-26 10:10:25.629 -06:00 [DBG] PID: 18892
2025-01-26 10:10:25.629 -06:00 [DBG] 
== Build Details ==
- Editor Services version: 3.11.0
- Build origin:            Release
- Build commit:            6921dcd6868a02811d10a16a6526f4416a8c73f6
- Build time:              9/13/2023 12:00:00 AM

2025-01-26 10:10:25.629 -06:00 [DBG] 
== Host Startup Configuration Details ==
 - Host name:                 helix
 - Host version:              1.0.0
 - Host profile ID:           0
 - PowerShell host type:      System.Management.Automation.Internal.Host.InternalHost

 - REPL setting:              None
 - Session details path:      C:\tools\PowerShellEditorServices\PowerShellEditorServices.sessions.json
 - Bundled modules path:      C:\tools\PowerShellEditorServices
 - Additional modules:        
 - Feature flags:             

 - Log path:                  C:\tools\PowerShellEditorServices\PowerShellEditorServices.log
 - Minimum log level:         Diagnostic

 - Profile paths:
   + AllUsersAllHosts:       C:\Program Files\PowerShell\7\profile.ps1
   + AllUsersCurrentHost:    C:\Program Files\PowerShell\7\0_profile.ps1
   + CurrentUserAllHosts:    C:\Users\#####\Documents\PowerShell\profile.ps1
   + CurrentUserCurrentHost: C:\Users\#####\Documents\PowerShell\0_profile.ps1

2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Commands.Diagnostics, Version=7.4.6.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Diagnostics.PerformanceCounter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.PowerShell.Security, Version=7.4.6.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.WSMan.Management, Version=7.4.6.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: Microsoft.WSMan.Runtime, Version=7.4.6.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
2025-01-26 10:10:25.629 -06:00 [DBG] 
== Console Details ==
 - Console input encoding: OEM United States
 - Console output encoding: OEM United States
 - PowerShell output encoding: Unicode (UTF-8)

2025-01-26 10:10:25.629 -06:00 [DBG] 
== Environment Details ==
 - OS description:  Microsoft Windows 10.0.26100
 - OS architecture: X64
 - Process bitness: 64

2025-01-26 10:10:25.629 -06:00 [DBG] 
== PowerShell Details ==
- PowerShell version: 7.4.6
- Language mode:      FullLanguage

2025-01-26 10:10:25.629 -06:00 [DBG] Updated PSModulePath to: 'C:\Users\#####\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\tools\PowerShellEditorServices'
2025-01-26 10:10:25.629 -06:00 [VRB] Validating configuration
2025-01-26 10:10:25.629 -06:00 [DBG] Loading PowerShell Editor Services
2025-01-26 10:10:25.629 -06:00 [VRB] Assembly resolve event fired for Microsoft.PowerShell.EditorServices, Version=3.11.0.0, Culture=neutral, PublicKeyToken=null
2025-01-26 10:10:25.629 -06:00 [DBG] Loading PSES DLL using new assembly load context
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.PowerShell.EditorServices, Version=3.11.0.0, Culture=neutral, PublicKeyToken=null
2025-01-26 10:10:25.629 -06:00 [DBG] Starting EditorServices
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Logging.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.Async, Version=1.5.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Serilog.Sinks.File, Version=5.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10
2025-01-26 10:10:25.629 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Options, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
2025-01-26 10:10:25.631 -06:00 [VRB] Creating/running editor services
2025-01-26 10:10:25.632 -06:00 [VRB] Creating startup info object
2025-01-26 10:10:25.632 -06:00 [DBG] Starting server, deregistering host logger and registering shutdown listener
2025-01-26 10:10:25.633 -06:00 [DBG] Creating LSP transport with endpoint <stdio>
2025-01-26 10:10:25.634 -06:00 [VRB] Connecting stdio streams
2025-01-26 10:10:25.634 -06:00 [VRB] Creating language server
2025-01-26 10:10:25.635 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: OmniSharp.Extensions.LanguageServer, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022
2025-01-26 10:10:25.637 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: OmniSharp.Extensions.JsonRpc, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022
2025-01-26 10:10:25.638 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: MediatR, Version=8.0.0.0, Culture=neutral, PublicKeyToken=bb9a41a5e8aaa7e2
2025-01-26 10:10:25.640 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: OmniSharp.Extensions.LanguageProtocol, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022
2025-01-26 10:10:25.646 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Configuration, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
2025-01-26 10:10:25.647 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Configuration.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
2025-01-26 10:10:25.656 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: System.Reactive, Version=5.0.0.0, Culture=neutral, PublicKeyToken=94bc3704cddfc263
2025-01-26 10:10:25.660 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.DependencyInjection.Abstractions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
2025-01-26 10:10:25.666 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Nerdbank.Streams, Version=2.8.0.0, Culture=neutral, PublicKeyToken=cac503e1823ce71c
2025-01-26 10:10:25.668 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: System.IO.Pipelines, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
2025-01-26 10:10:25.669 -06:00 [VRB] Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Threading.Tasks.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
2025-01-26 10:10:25.671 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.VisualStudio.Validation, Version=16.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
2025-01-26 10:10:25.673 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.VisualStudio.Threading, Version=16.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
2025-01-26 10:10:25.677 -06:00 [VRB] Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Buffers, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
2025-01-26 10:10:25.683 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: OmniSharp.Extensions.LanguageServer.Shared, Version=0.19.0.0, Culture=neutral, PublicKeyToken=6d868dff454e6022
2025-01-26 10:10:25.686 -06:00 [VRB] Loaded into load context "PsesLoadContext" Microsoft.PowerShell.EditorServices.Hosting.PsesLoadContext #1: Microsoft.Extensions.Primitives, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
2025-01-26 10:10:25.792 -06:00 [VRB] Loaded into load context "Default" System.Runtime.Loader.DefaultAssemblyLoadContext #0: System.Threading.Channels, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
2025-01-26 10:10:25.868 -06:00 [DBG] Finding descriptors for initialize
2025-01-26 10:10:25.888 -06:00 [DBG] Queueing "Serial":initialize:0 request for processing
2025-01-26 10:10:25.895 -06:00 [DBG] Starting: Processing request initialize 0
2025-01-26 10:10:25.898 -06:00 [DBG] Starting: Routing Request (0) initialize
2025-01-26 10:10:25.898 -06:00 [VRB] Converting params for Request (0) initialize to OmniSharp.Extensions.LanguageServer.Protocol.Models.InternalInitializeParams
2025-01-26 10:10:25.899 -06:00 [VRB] Converting params for Notification initialize to OmniSharp.Extensions.LanguageServer.Protocol.Models.InternalInitializeParams
2025-01-26 10:10:25.976 -06:00 [DBG] Starting host...
2025-01-26 10:10:25.977 -06:00 [DBG] Loading profiles...
2025-01-26 10:10:25.980 -06:00 [VRB] Writing session file
2025-01-26 10:10:25.981 -06:00 [VRB] Writing session started
2025-01-26 10:10:25.987 -06:00 [DBG] Session file written to C:\tools\PowerShellEditorServices\PowerShellEditorServices.sessions.json with content:
{"status":"started","languageServiceTransport":"Stdio","powerShellVersion":"7.4.6"}
2025-01-26 10:10:25.987 -06:00 [VRB] Waiting on PSES run/shutdown
2025-01-26 10:10:26.020 -06:00 [VRB] Setting execution policy to "RemoteSigned"
2025-01-26 10:10:32.918 -06:00 [VRB] Could not write to output handler, perhaps serialization failed?
System.Threading.Channels.ChannelClosedException: The channel has been closed.
   at System.Threading.Channels.AsyncOperation`1.GetResult(Int16 token)
   at OmniSharp.Extensions.JsonRpc.OutputHandler.ProcessOutputStream(CancellationToken cancellationToken)

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par la configuration languages.toml de Helix et Start-EditorServices.ps1, puis comparez les journaux de démarrage et le comportement de LSP de v3.10.0 et v3.11.0. Suivez l’endroit où la version la plus récente cesse de fournir des analyses ou des suggestions à Helix. Le travail est terminé lorsque la configuration prise en charge fournit à nouveau l’analyse du code et des suggestions avec v3.11.0 ou une version ultérieure.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp
Domaine
developer-experience, devtools
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.