GoLang Study - VS Code Setting

2021. 5. 18. 12:14Work/GoLang

728x90
반응형

#Golang VSCode Setting

# Step

1. go를 설치
2. VS Code의 go 확장 설치
3. go json 설정

# Step 1 : go 설치

 - 공식 사이트에서 go를 설치해 주세요

# Step 2 : VS Code go 확장 설치

 - VSCode 설치 후 Extensions Go를 설치해줍니다.

# Step 3 : go json 설치

 - Preferences에서 Settings으로 들어가줍니다.

 - Settings에서 json 검색GoEdit in setting.json을 눌러줍니다.

 - "go.buildOnSave": true, 를 추가해줍니다.

*이 부분이 필요한 이유 : package를 저장하면 바로 연결이 안될 경우가 있음, 이를 해결하기 위해 적용

 

*install 공식 사이트

golang : https://golang.org/doc/install

 

Download and install - The Go Programming Language

Download and install Download and install Go quickly with the steps described here. For other content on installing, you might be interested in: 1. Go download. Click the button below to download the Go installer. Download Go Don't see your operating syste

golang.org

VS Code : https://code.visualstudio.com/

 

Visual Studio Code - Code Editing. Redefined

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.  Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.

code.visualstudio.com

 

728x90
반응형

'Work > GoLang' 카테고리의 다른 글

GoLang Study - A Tour of Go  (0) 2021.06.03