Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Go Template LSPNew to Visual Studio Code? Get it now.
Go Template LSP

Go Template LSP

Steve Djumo

|
4 installs
| (0) | Free
The long awaited LSP for Go template providing diagnostics, go to definition, auto completion, and more at your fingertips
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Go Template LSP

Go template is incredible. But the lack of editor/IDE support is a crime. This makes the feedback loop between coding and bug detection a real challenge.

This LSP aims to tackle that issue. From now on, instantaneous diagnostics and type checking are a breeze.

You will never again need to download a dependency to replace the good and reliable standard text/template and html/template packages. Build with confidence :

  • SSR web apps
  • Static sites (Hugo, etc.)
  • Any project using Go templates

LSP in Action

Features

  • Diagnostics
  • Type system
  • Go To Definition
  • Hover
  • Folding Range
  • Dependency analysis of Template call

Installation

Afther installing the vscode extension, it is imperative to install the LSP next. Execute the command below in your terminal:

go install github.com/yayolande/go-template-lsp@latest

To learn more about other installation procedure, visit the official repository Similarly, to better learn the inner working of the type system, follow this small tutorial

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft