goplus / vscode-gop

Go/Go+ extension for Visual Studio Code

Home Page:https://marketplace.visualstudio.com/items?itemName=goplus.gop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goxls crashed when syntax error occurs at gop file.

qinhongwei123 opened this issue · comments

commented

What version of Go, VS Code & VS Code Go extension are you using?

Version Information
  • Run go version to get version of Go from the VS Code integrated terminal.
    • go version go1.21.4 darwin/arm64
  • Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
    • golang.org/x/tools/gopls@v0.14.2
  • Check your installed extensions to get the version of the VS Code Go extension
    • v0.1.0-dev

Describe the bug

goxls crashed when syntax error occurs at gop file.

Steps to reproduce the behavior:

  1. Open Gop File
  2. Code and trigger unexist function or some syntax error
  3. See panic error

Screenshots or recordings

image