theme-check-vscode icon indicating copy to clipboard operation
theme-check-vscode copied to clipboard

Extension should look for templates relatively or by setting.

Open IngoVals opened this issue 4 years ago • 4 comments

I'm using Webpack to build my theme so I have the liquid files inside a /src/static directory. I keep these static files in the same directory structure as they will be built as.

{% comment %} Inside theme.liquid {% endcomment %}
{% section 'header' %}

So theme-check extension checks my code automatically and gives me a MissingTemplate.

Since this file is located at src/static/layout I would like theme check to look in src/static/sections/header.liquid

If that is not possible maybe a base url setting for the extension for which theme check will be ran in.

IngoVals avatar Oct 14 '21 19:10 IngoVals