Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Helix Integration No Longer Works in v3.11.0+

未關閉
#2,215 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
csharp

研究方向

從 Helix 的 languages.toml 設定和 Start-EditorServices.ps1 開始,然後比較 v3.10.0 和 v3.11.0 的啟動記錄及 LSP 行為。追蹤較新版本從何處開始不再向 Helix 提供分析或建議。完成標準是受支援的設定在 v3.11.0 或更高版本中再次提供程式碼分析和建議。

由索引模型根據 Issue 內容生成。

描述

Issue-Bug Needs: Triage
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)

主要語言
C#
星號
776
分支
268
平均合併
3 天 16 小時
30 天內合併 PR
1

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

PowerShell/PowerShellEditorServices 的其他 Issue

查看 PowerShell/PowerShellEditorServices 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。