VS Code extension with snippets, syntax highlighting, hover, and formatting for Twig.
Branch: master
Clone or download
Latest commit abcd834 Jan 31, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode 0.3.2 Apr 1, 2018
images got em. Prettydiff Nov 11, 2017
src Fix the options Dec 31, 2018
.eslintrc.json format selection WIP Nov 12, 2017
.gitignore Removed .DS_Store file and fixed gitignore Oct 10, 2018
.vscodeignore initial Nov 5, 2017
CHANGELOG.md Update changelog Jan 31, 2019
LICENSE.md 0.3.2 Apr 1, 2018
README.md Update README.md Jan 30, 2018
package.json Changelog Jan 31, 2019
yarn.lock v0.5.0 Jan 30, 2019


VSCode Twig Language

  • Syntax highlighting
  • Snippets
  • Emmet
  • Pretty Diff Formatting
  • Hover
  • HTML intellisense


Install through Visual Studio Code extensions. Search for Twig Language

Visual Studio Code Market Place: Twig Language


Twig Language is a Visual Studio Code extension that provides snippets, syntax highlighting, hover, and formatting for the Twig file format.

Twig syntax highlighting and language support

This extension provides language support for the Twig syntax.

Code formatter/beautifier for Twig files

Using PrettyDiff, this extension implements the only working code formatter for Twig files in VSCode.

Information about Twig code on hover

VSCode Twig language shows information about the symbol/object that's below the mouse cursor when you hover within Twig files.

Craft CMS/Twig code snippets

Adds a set of Craft CMS/Twig code snippets to use in your Twig templates.