Skip to content

Chaxwell/vscode-extension-twigLinkResolver

Repository files navigation

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

About

Allows you to open twig files by clicking on the generated links

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published