Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TwiggyNew to Visual Studio Code? Get it now.
Twiggy

Twiggy

Mikhail Gunin

|
4,187 installs
| (9) | Free
Twig language support for VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Twiggy

VSCode Marketplace: Twiggy

This is a fork of kaermorchen/twig-language-server (Modern Twig).

Definition

Definition for variables Definition for templates and blocks

Completion

Completion

[!TIP] For better completion in Symfony or Craft CMS, configure twiggy.framework and follow the extension output (Twiggy Language Server).

Inlay hints

inlay hints

Setup

VS Code

  1. Open Command Palette (Ctrl+P), type ext install moetelo.twiggy and press Enter.
  2. For Symfony project, set twiggy.phpExecutable and twiggy.symfonyConsolePath in the VS Code settings.
  3. Check the extension output (Twiggy Language Server) for errors.

Submit new issue if you have any problems or the feature you want is missing.

Neovim

Please refer to this reply and the instructions from neovim/nvim-lspconfig.

Sublime Text

Follow instructions ready-to-use client implementation maintained by the community.

Development

  1. Install pnpm.
  2. pnpm install in the project dir.
  3. Press F5 in VS Code to start debugging.

Monorepo

  • Twiggy Language Server
  • VSCode Twig extension
  • tree-sitter-twig
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft