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
Describe the bug
goxls crashed when syntax error occurs at gop file.
Steps to reproduce the behavior:
- Open Gop File
- Code and trigger unexist function or some syntax error
- See panic error
Screenshots or recordings

What version of Go, VS Code & VS Code Go extension are you using?
Version Information
go versionto get version of Go from the VS Code integrated terminal.gopls -v versionto get version of Gopls from the VS Code integrated terminal.Describe the bug
goxls crashed when syntax error occurs at gop file.
Steps to reproduce the behavior:
Screenshots or recordings