autocomplete-paths
autocomplete-paths copied to clipboard
How to make autocomplete working with twig files?
Hi,
I'm not able to autocomplete work into my twig files. In my project I have this:
/images
/templates/.twig files
My config.cson (inspired by examples found in issues):
"autocomplete-paths":
scopes: [
{
scopes: [
"images"
]
prefixes: [
"include directory ~"
]
extensions: [
"png"
"jpg"
"jpeg"
"gif"
"twig"
]
replaceOnInsert: [
[
"(@[2-9]x)\\.png?$"
".png"
]
]
relative: true
includeCurrentDirectory: true
projectRelativePath: false
}
]
I would to autocomplete this kind of code:
{% include directory ~ '/includes/dedicates_inc/inc_cdi_html.twig' %}
or for Sass Mixin:
@include backgroundImage("PNG/[email protected]");
thanks
nobody can help me to get this module working for atom ?