killalau / vscode-liquid-snippets Goto Github PK
View Code? Open in Web Editor NEWShopify Liquid Template Snippets
License: MIT License
Shopify Liquid Template Snippets
License: MIT License
This is the message
[16026:0711/215009.563394:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag if"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.563776:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag elsif"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.563805:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag if else"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.564088:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag unless"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.564356:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag case"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.564609:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag when"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.564923:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag for"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.565376:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag tablerow"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.565621:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag assign"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.565765:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag increment"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.565948:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag decrement"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.566151:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag capture"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.566284:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag include"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.566540:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag include with parameters"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.566656:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag raw"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.566993:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Tag paginate"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.567191:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter concat"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.567367:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter map"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.567487:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter sort"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.567699:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter img tag with parameters"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.568019:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter append"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.568209:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter pluralize"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.568364:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter prepend"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.568533:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter remove"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.568704:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter remove first"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.568860:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter replace"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.569047:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter replace first"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
[16026:0711/215009.569244:INFO:CONSOLE(28)] "[/Users/adriano/.vscode/extensions/killalau.vscode-liquid-snippets-0.2.6]: The "Filter slice single character"-snippet very likely confuses snippet-variables and snippet-placeholders. See https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details.", source: file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/electron-browser/workbench.main.js (28)
I have VS Code Version 1.8.1
. I downloaded the extension directly from the editor, created an index.liquid
and tried some shortcuts - can't get it to work 😢.
I've also tried removing all my plugins, resetting my settings (not that I think those would have an effect on the extension, but I tried nonetheless).
this is a pretty minor issue on a great extension but wondering if
{%- comment -%}{%- endcomment -%}
could be added to the snippets
I'm wondering if the new section schema tags can be added?
{% schema %}{% endschema %}
{% stylesheet %}{% endstylesheet %}
{% javascript %}{% endjavascript %}
Maybe also some larger code expansion on the {% schema %}
tag where it expands with some default schema?
{% schema %}
{
"name": "section",
"settings": [],
"blocks": [],
"presets": [],
}
{% endschema %{
Hello!
After a recent update, the snippets stopped working for me.
I figured out that the snippets do work but just not within the {% schema %} tag.
Would you be able to fix this, please?
Many thanks!
How can I get the basic emmet autocomplete snippets to work with this, that are built into vs code? When I'm on an HTML Liquid template, I can no longer type "div.class-name + tab" for example. Liquid autocompletes are convenient but not at the cost of losing all html autocompletes.
I'm new to adding issues so I don't know if I can put this here. I just want to help the community
If you're also wondering why schema snippets don't work and are unaware (like I originally was) that, under the details tab of the Liquid extension by Νίκος it points out, quote: "If you're using the Liquid Language Support and/or the Shopify Liquid Template Snippets then it's highly recommended that you either uninstall or disable both of these before using this extension."
I disabled Liquid and then was able to use this extension, which depends on "Liquid Language Support " to be installed and enabled as well.
So now if the plugin expands anything like an if or a for tag it uses the {%- -%}
syntax instead of the regular {% %}
syntax.
Screenshot: https://cl.ly/nbs2
Liquid snippets has an external dependency on vscode-liquid. Is this really necessary? Do snippet extensions require external dependencies?
I have an extension which provides liquid syntax support but due to the external dependency this extension has on vscode-liquid users are unable to uninstall vscode-liquid when using vscode-liquid-snippets. This leads to duplicate support of liquid syntax with potential to create conflicting issues when users have both syntax extensions installed.
To combat this issue my extension for the time being uses a forked version of this project but this will lead to uninstalls of vscode-liquid-snippets which I would like to avoid because this project is great and my extension should not have to use a forked version just because of an external dependency.
Dropping vscode-liquid as an external dependency means other extensions that support liquid syntax variations won't run into issues or in my case not require forking.
Shouldn't it be {% style %}
instead of {% stylesheet %}
Source: https://shopify.dev/docs/themes/liquid/reference/tags/theme-tags#style
P.S. I'm new to Shopify, so I can be wrong.
I can't get a .liquid page to recognize the liquid syntax as well as html and javascript. Is there any conflict between extensions or it is by design? Thanks.
As per the instructions, I installed the Liquid Languages Support (Neil Ding). Then I installed Shopify Liquid Template Snippets. I also think I properly configured the user settings, searching for emmet and then selecting include languages.
I quit VSC and re-opened (also just tried a reload). I go into a previously saved or new and saved HTML file or Markdown file (not sure if Markdown is supported), and then typed "assign". I pressed enter and tab, but nothing occurs. According to the readme, I can also enable with command+space on the Mac, but that opens up Spotlight Search. I tried control+space, which is what I think the documentation means to require, but that does not result in showing liquid support.
I cannot seem to get up and running. Any help you can provide would be useful.
Thanks.
Hi,
I have my theme in a /theme
directory in my repo, as I have other project related files I want to keep together, but outside of the theme files. But this is causing issues with false positives with the theme check side of things, such as it thinking templates are missing etc.
I can't see any way to configure it for this scenario, would it be possible to have this as a configurable option, or to auto detect?
Thanks,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.