microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.92k stars 29.52k forks source link

Performance issue with VScode using Golang #144095

Closed rexdivakar closed 2 years ago

rexdivakar commented 2 years ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

Steps to reproduce on Windows 10 , latest build:

  1. Install Go Lang from the official site
  2. Install Visual Studio Code
  3. Enable Go support in Visual Studio
  4. Create this program (saved as main.go) in Visual Studio Code: ` package main

import "fmt"

func main() { fmt.Println("Hi there!") }`

  1. Upon writing scripts using VScode in golang language the editor freezes due to Antimalware scan from Windows Defender

Weirdest part is that this doesn't happen with Python or using Goland IDE (from Jetbrains), Kindly help me fix this issue.

2022-02-27 (2)

TylerLeonhardt commented 2 years ago

\extGo