Skip to content
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

Command Show Nim Language Server Status resulted in an error #129

Open
metaleap opened this issue Jan 8, 2025 · 0 comments
Open

Command Show Nim Language Server Status resulted in an error #129

metaleap opened this issue Jan 8, 2025 · 0 comments

Comments

@metaleap
Copy link

metaleap commented Jan 8, 2025

Having just installed vscode-nim, I opened up a new blank workspace in VSC and went to Show Nim Language Server Status in Command Palette. Result:

image

Further details:

Output Panel Nim Lsp reads:

DBG Starting nimlangserver                     version=1.6.0 params="(clientProcessId: none(int), transport: some(stdio), port: 0)"
DBG Starting stdio server                     
DBG [Processsing Message]                      request="\"initialize\""
DBG Initialize received...                    
DBG Registering monitor for process            pid=15208
DBG Initialize completed. Trying to start nimsuggest instances
DBG [Processsing Message]                      request="\"initialized\""
DBG Client initialized.                       
DBG Requesting configuration from the client  
DBG Got response for the didChangeConfiguration registration: res={}
DBG Received the following configuration       configuration="[{\"project\":[],\"projectMapping\":[],\"test-project\":\"\",\"buildOnSave\":false,\"buildCommand\":\"c\",\"runOutputDirectory\":\"\",\"lintOnSave\":true,\"enableNimsuggest\":false,\"provider\":\"lsp\",\"useNimsuggestCheck\":false,\"logNimsuggest\":false,\"licenseString\":\"\",\"nimsuggestRestartTimeout\":60,\"nimprettyIndent\":0,\"nimprettyMaxLineLen\":80,\"lsp\":{\"path\":\"\"},\"inlayHints\":{\"typeHints\":{\"enable\":true},\"parameterHints\":{\"enable\":true},\"exceptionHints\":{\"enable\":true,\"hintStringLeft\":\"🔔\",\"hintStringRight\":\"\"}},\"debug\":{\"type\":\"lldb\"},\"notificationVerbosity\":\"info\",\"notificationTimeout\":15,\"transportMode\":\"stdio\",\"lspPort\":0,\"formatOnSave\":false}]"
DBG [Processsing Message]                      request="\"extension/status\""
DBG Received status request                   

Output Panel Nim reads:

2025-00-03 09:0036:0045.000776 - nimlangserver found: /home/_/.nimble/pkgs2/nimlangserver-1.6.0-2ec09c6fbc0c1a56fd8587aee5f4dd7e1afc5b98/nimlangserver
2025-00-03 09:0036:0045.000776 - Starting nimlangserver.
2025-00-03 09:0036:0046.000306 - Nim Language Server started
2025-00-03 09:0036:0046.000320 - [info] Extension Activated
(version: "1.6.0", lspPath: "/home/_/.nimble/pkgs2/nimlangserver-1.6.0-2ec09c6fbc0c1a56fd8587aee5f4dd7e1afc5b98/nimlangserver", nimsuggestInstances: @[], openFiles: @[], extensionCapabilities: @["RestartSuggest"], pendingRequests: @[], projectErrors: @[])
2025-00-03 09:0036:0047.000257 - Your lsp version is updated

Cheers =)

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

1 participant