mshr-h / vscode-verilog-hdl-support

HDL support for VS Code
MIT License
291 stars 76 forks source link

Couldn't start client SystemVerilog language server svls #324

Closed ChongChengAC closed 1 year ago

ChongChengAC commented 1 year ago

Describe Launching server using command svls failed, though svls is already in PATH

Environment (please complete the following information):

Steps to reproduce Steps to reproduce the behavior:

  1. Install svls via cargo install svls
  2. Make sure that svls is already in PATH: svls --version
  3. Edit vscode Verilog configuration -> Verilog: Language Server to svls
  4. Reopen vscode.

Log

image

Expected behavior No errors.

Additional context There's a similar issue https://github.com/mshr-h/vscode-verilog-hdl-support/issues/154#issue-891305794. But I installed svls by the way mentioned in its readme image

mshr-h commented 1 year ago

Released v1.5.7 with the updated config option language server. You can specify the path to the svls binary in your config. Check out the README for how to config it.

verilog.languageServer.enabled (Default: false )

verilog.languageServer.name (Default: svls )

verilog.languageServer.path (Default: svls )
ChongChengAC commented 1 year ago

Released v1.5.7 with the updated config option language server. You can specify the path to the svls binary in your config. Check out the README for how to config it.

verilog.languageServer.enabled (Default: false )

verilog.languageServer.name (Default: svls )

verilog.languageServer.path (Default: svls )

It works after I fill verilog.languageServer.path with full path. Thanks!