Twiggy
VSCode Marketplace: Twiggy
This is a fork of kaermorchen/twig-language-server (Modern Twig).
Definition

Completion

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

Setup
VS Code
- Open Command Palette (
Ctrl+P), type ext install moetelo.twiggy and press Enter.
- For Symfony project, set
twiggy.phpExecutable and twiggy.symfonyConsolePath in the VS Code settings.
- 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
- Install pnpm.
pnpm install in the project dir.
- Press F5 in VS Code to start debugging.
Monorepo
| |