Skip to content

moetelo/twiggy

Repository files navigation

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.

Development

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

Monorepo