Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Twig link resolverNew to Visual Studio Code? Get it now.
Twig link resolver

Twig link resolver

Chaxwell

|
1,187 installs
| (5) | Free
Allows you to open twig files by clicking on the generated links
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Twig link resolver

This extension allows you to quickly open your twig file by clicking the links generated in your editor.



Configuration

Prepend the keys with the extension name : twigLinkResolver (e.g. twigLinkResolver.templatesRootPath)


Key Description Default Possible values
templatesRootPath
deprecated, please move your root path to loaderPaths
The relative path to your twig templates folder "templates" any
languageFilter What languages are supported for the generated links
[
    "php",
    "html",
    "twig"
]
To enable the generation in twig files you must enable the filters "html" and "twig"
All existing language ids supported by Vscode
loaderPaths Allows you to specify multiple paths to your twig templates. Add an alias (eg. @App) bounded to a path (eg. src/AppBundle/Resources/views)
{
    "": "templates",
}
alias => string
path: string (omit the final slash)


Demo


Navigating files



Creating file

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft