Closed david34corbalan closed 3 months ago
Hey! Can you open the language server logs (debug: open language server logs
), select gopls
and see if there's any errors in there?
Also: which one is supposed to be Zed? The left one? Because I think the error message is wrong, right? There's no ;
in Go.
I'm sorry, but I don't see the errors in the editor; for example, in VSC, errors are shown on the line. also in golang there's no ";"
debug: open language server logs: 2024/03/15 14:21:58 background refresh finished after 104.78539ms 2024/03/15 14:23:54 imports fixes: AllImportsFixes: /api/src/campaigns/services/excelize.go:102:17: expected ';', found 'ILLEGAL' (and 3 more errors) file="/api/src/campaigns/services/excelize.go"
Do you have any special configuration for Go? Any linters? Gopls configuration? Can you reproduce this in a new file?
Closing this due to inactivity. Happy to reopen if issue still persists.
Check for existing issues
Describe the bug / provide steps to reproduce it
Hello, I don't know if there is an issue, but I think the linter for GoLang is not working correctly. comparate zed (left) - vsc (right)
Environment
Zed: v0.126.2 (Zed) OS: macOS 14.3.1 Memory: 32 GiB Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.No response