You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
1.64.2
x64
Check your installed extensions to get the version of the VS Code Go extension
v0.31.1
Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.
Share the Go related settings you have added/edited
Run Preferences: Open Settings (JSON) command to open your settings.json file.
Share all the settings with the go. or ["go"] or gopls prefixes.
Describe the bug
A clear and concise description of what the bug.
A clear and concise description of what you expected to happen.
Steps to reproduce the behavior:
VS Code Version: 1.64.2
OS Version: Windows 10 Pro (64)
Install Go Lang from the official site
Install Visual Studio Code
Enable Go support in Visual Studio
Create this program (saved as main.go) in Visual Studio Code:
` package main
import "fmt"
func main() {
fmt.Println("Hi there!")
}`
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
Upon writing scripts using VScode in golang language the editor freezes due to Antimalware scan from Windows Defender which slows down my machine
This issue happens only with the latest version go1.17.7 windows/amd64
The text was updated successfully, but these errors were encountered:
Hey @seankhliao i get it but what i'm trying to say is that upto ver 1.17.6 I did not face this issue but after upgrading to latest ver 1.17.7 this happens to be a problem so I'm looking for a possible explanation to fix this to my latest builds
Short explanation: most antivirus programs are trash not always accurate.
The reason this didn't happen with go1.17.6 is that it's older. The 1.17.7 binary is newer and probably hasn't been completely whitelisted yet, or something like that. The point is that there's nothing the Go project can do to fix this. Releasing another binary would only make things worse, because that would be even newer, and thus "less trusted".
The only things you can do are 1) complain to the antivirus vendor 2) keep using 1.17.7 so that the antivirus learns it's okay and stops scanning it 3) downgrade to 1.17.6 until your antivirus vendor properly whitelists the 1.17.7 binaries.
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
go version
to get version of Go from the VS Code integrated terminal.gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.x64
Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
A clear and concise description of what the bug.
A clear and concise description of what you expected to happen.
Steps to reproduce the behavior:
VS Code Version: 1.64.2
OS Version: Windows 10 Pro (64)
Install Go Lang from the official site
Install Visual Studio Code
Enable Go support in Visual Studio
Create this program (saved as main.go) in Visual Studio Code:
` package main
import "fmt"
func main() {
fmt.Println("Hi there!")
}`
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.

Upon writing scripts using VScode in golang language the editor freezes due to Antimalware scan from Windows Defender which slows down my machine
This issue happens only with the latest version go1.17.7 windows/amd64
The text was updated successfully, but these errors were encountered: