Hugo Language and Syntax Support installs statistics
By budparr · VS Code Marketplace · Programming Languages
Adds syntax highlighting and snippets to Hugo files in VS Code
Hugo Language and Syntax Support has 157,354 recorded installs on VS Code Marketplace, ranking #1806 of 2,502 tracked listings.
Rating: 5.00 / 5 from 5 ratings
About Hugo Language and Syntax Support
language-hugo README
Syntax highlighting and snippets for Hugo websites.
Features
Makes Hugo templating fit in with the rest of your HTML.
Includes 24 completion snippets for Go Template, see full list below.
Includes snippets for Hugo Shortcodes in Markdown and TOML file, list to come.
Template Snippets
| Snippet | Tab Trigger | Output |
|---|---|---|
| Curlies | x | {{ }} |
| Dot | xx | {{ . }} |
| If | if | {{ if }} {{ end }} |
| If Inline | ifi | Same as above but inline |
| If/Else | ife | {{ if }} {{ else }} {{ end }} |
| If/Else if | ifei | {{ if }} {{ else if }} {{ end }} |
| With | with | {{ with }} {{ end }} |
| With/Else | withe | {{ with }} {{ else }} {{ end }} |
| Range | range | {{ range }} {{ end }} |
| Partial | partial | {{ partial "" . }} |
| partialCached | partialc | {{ partialCached "" . variant }} |
| Naked partial | xpartial | partial "" . |
| Block | block | {{ block "main" . }} {{ end }} |
| Block define | define | {{ define "block" }} {{ end }} |
| Scratch | scra | `{{ .Scratch.Set |
| String | str | {{ printf "Something about %s" . }} |
| printF | `printf "%s | |
| Variable | vars | {{ $var := what }} |
| Return | ret | {{ return $return }} |
| Debug | debug | {{ printf "%#v" . }} |
| Error | error | {{ errorf "%#v" . }} |
| Comment | comm | {{/* */}} |
Known Issues
For Hugo Shortcode snippets to work in your Markdown files, enable quickSuggestions in your User Settings
"[markdown]": {
"editor.quickSuggestions": true
}
Release Notes
See the Changelog
Roadmap
- More Snippets/Completions
- Add syntax highlighting for shortcodes in markdown files.
- Add support for Hugo syntax highlighting in JSON files
Acknowledgments
Thank you to Matt Stratton for creating the Atom Language-hugo plugin, from which this borrows heavily.
Thank you to Steve Francia, Bjørn Erik and the Hugo community of contributors and users.
Description from the VS Code Marketplace listing.
- html
- HTML (Hugo)
- hugo
- snippet
- snippets
- template
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Ratings over time
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (6)Similar VS Code Marketplace Programming Languages plugins
All 20 Hugo Language and Syntax Support alternativesData source
Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.
Listing: https://marketplace.visualstudio.com/items?itemName=budparr.language-hugo-vscode. First seen Oct 16, 2026; last successful collection Oct 21, 2026. See the methodology.