VScode for Golang – How to setup Visual Studio Code for Go [2020]



VScode for Golang – How to setup Visual Studio Code for Go [2020]

VScode for Golang - How to setup Visual Studio Code for Go [2020]

Update! This video is stale and alot’s changed. Checkout this video instead: https://youtu.be/pvfESSAbbts

In this video we will look at how to setup visual studio code (VScode) for golang development. We will install necessary tools, the gopls language server, debugging, running your code, and more!

#johncodes

🚀 SUMMARY:
Today, we’re going to talk about using vscode with golang. The golang extension is a powerful tool to use with go development and provides alot of great features. Included with the golang extension is the gopls langauge server which provides fast performance for intellisense, completions, documentation, and more. It also has best in class go module support. If you’re using vscode for golang work, you’ll want to enable the gopls server. We will also talk about a few other extensions that make working with vscode much better. Again, vscode is highly extensible and customizable. It’s a powerful tool to use in your day to day work!

Download vscode: https://code.visualstudio.com/Download
Setup golang: https://golang.org/doc/install
VScode golang extension JSON configuration: https://github.com/golang/tools/blob/master/gopls/doc/vscode.md
Install dlv: https://github.com/go-delve/delve/tree/master/Documentation/installation

⏰ TIMESTAMPS:
00:00 Intro
00:30 Install tools & Go
02:59 Go extension configuration
05:48 Go extension features
06:30 Run tests
07:24 Building binaries
07:42 Debugging
10:41 More extensions

🔗 SOCIAL LINKS:
► Live on Twitch: https://johncodes.live
► Join the Discord: https://discord.gg/jk4uSKhx3e
► Twitter: https://twitter.com/johncodezzz
► Instagram: https://www.instagram.com/johncodezzz/
► TikTok: https://tiktok.com/@johncodes
► Home page: https://johncodes.com
► Email contact: [email protected]

🤔 About:
Hi all, I’m John, an experienced software engineer and open source software enthusiast. I make fun and informative videos about tech, engineering, productivity, and life! Like, comment, and subscribe for more!

Comments are closed.