All Projects → killalau → vscode-liquid-snippets

killalau / vscode-liquid-snippets

Licence: MIT license
Shopify Liquid Template Snippets

Projects that are alternatives of or similar to vscode-liquid-snippets

Shopify Modern
A modern template for developing Shopify-themes using Vuejs
Stars: ✭ 136 (+518.18%)
Mutual labels:  liquid, shopify
shopify-wishlist
💙 A set of files used to implement a simple customer wishlist on a Shopify store
Stars: ✭ 115 (+422.73%)
Mutual labels:  liquid, shopify
Moonmail
Email marketing platform for bulk emailing via Amazon SES (Google Cloud Platform and Azure coming soon)
Stars: ✭ 1,766 (+7927.27%)
Mutual labels:  liquid, shopify
Slater Theme
Shopify Starter theme based on slate
Stars: ✭ 47 (+113.64%)
Mutual labels:  liquid, shopify
gulp-shopify-theme
Shopify theme synchronisation during development
Stars: ✭ 26 (+18.18%)
Mutual labels:  liquid, shopify
Shopify Theme Inspector
A Chrome DevTools plugin that visualizes Shopify Liquid render profiling data so you can triage long-running code and reduce server response times!
Stars: ✭ 102 (+363.64%)
Mutual labels:  liquid, shopify
vscode-liquid
💧Liquid language support for VS Code
Stars: ✭ 137 (+522.73%)
Mutual labels:  liquid, shopify
Craigstarter
An open source crowdfunding tool built on Shopify
Stars: ✭ 484 (+2100%)
Mutual labels:  liquid, shopify
stencil-snippets
An extension to add some snippets on vs code
Stars: ✭ 21 (-4.55%)
Mutual labels:  vscode-extension, vscode-snippets
dry
Dry is a new template engine and language, and is a superset of Shopify's Liquid, with first-class support for advanced inheritance features, and more. From the creators of Enquirer, Assemble, Remarkable, and Micromatch.
Stars: ✭ 66 (+200%)
Mutual labels:  liquid, shopify
Jsx Lite
Write components once, run everywhere. Compiles to Vue, React, Solid, Angular, Svelte, and Liquid.
Stars: ✭ 1,015 (+4513.64%)
Mutual labels:  liquid, shopify
liquidpy
A port of liquid template engine for python
Stars: ✭ 49 (+122.73%)
Mutual labels:  liquid, shopify
Language Liquid
Liquid language support for Atom.
Stars: ✭ 28 (+27.27%)
Mutual labels:  liquid, shopify
Concrete
🏗 Concrete Shopify Theme Framework
Stars: ✭ 124 (+463.64%)
Mutual labels:  liquid, shopify
Shopify Lang
Multi-Language Shopify Online Shop
Stars: ✭ 26 (+18.18%)
Mutual labels:  liquid, shopify
mechanic-tasks
Public task repository for Mechanic (https://mechanic.dev)
Stars: ✭ 42 (+90.91%)
Mutual labels:  liquid, shopify
vsc html5 boilerplate
This is a Visual Studio Code snippet extension for generating HTML 5 boilerplate code
Stars: ✭ 32 (+45.45%)
Mutual labels:  vscode-extension, vscode-snippets
Shopify Theme Lab
Shopify theme development environment using Liquid, Vue and Tailwind CSS 🧪
Stars: ✭ 250 (+1036.36%)
Mutual labels:  liquid, shopify
bootstrap-shopify-theme
🛍 A free Shopify Theme built with Bootstrap, BEM, Liquid, Sass, ESNext, Theme Tools, ... and Webpack.
Stars: ✭ 41 (+86.36%)
Mutual labels:  liquid, shopify
getx snippets extension
An extension to accelerate the process of developing applications with flutter, aimed at everyone using the GetX package.
Stars: ✭ 142 (+545.45%)
Mutual labels:  vscode-extension, vscode-snippets

Shopify Liquid Template Snippets for VS Code

This extension for Visual Studio Code adds snippets for Shopify Liquid Template.

Visual Studio Marketplace link: https://marketplace.visualstudio.com/items?itemName=killalau.vscode-liquid-snippets

Preview

Showcase

Prerequisite

  1. Install the latest Visual Studio Code

Dependencies

  1. Liquid Languages Support

Installation

  1. Launch Code
  2. From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  3. Type ext install vscode-liquid-snippets
  4. Reload Visual Studio Code

Emmet Enable

Go to user settings and add the following:

"emmet.includeLanguages": { "liquid": "html" },

Usage

Type part of a snippet, press enter, and the snippet unfolds.

Alternatively, press Ctrl+Space (Windows, Linux) or Cmd+Space (OSX) to activate snippets from within the editor.

Comment Tag

comment- // whitespace stripped

Control Flow Tag

if
else
elsif
ifelse
unless
case
when
if-     // whitespace stripped
else-   // whitespace stripped
elsif-  // whitespace stripped
ifelse- // whitespace stripped
unless- // whitespace stripped
case-   // whitespace stripped
when-   // whitespace stripped

Iteration Tag

cycle
cyclegroup
for
limit       // For loops option
offset      // For loops option
reversed    // For loops option
break
continue
tablerow
cycle-      // whitespace stripped
cyclegroup- // whitespace stripped
for-        // whitespace stripped
continue-   // whitespace stripped
tablerow-   // whitespace stripped

Variable Tag

assign
increment
decrement
capture
assign-  // whitespace stripped
capture- // whitespace stripped

Theme Tag

include
includewith // Theme Tag {% include %} with parameters
render
renderwith // Theme Tag {% render %} with parameters
section
raw
layout
layoutnone
paginate
schema
stylesheet
stylesheet_scss

Schema Tag

_schema
_text
_textarea
_image_picker
_radio
_select
_checkbox
_range
_color
_font
_collections
_product
_blog
_page
_link_list
_url
_video
_richtext
_html
_article
_header
_paragraph
_blocks

Array Filter

join
first
last
concat
map
reverse
size
sort
uniq

HTML Filter

img_tag
img_tag_param // HTML Filter {% img_tag %} with parameters
script_tag
stylesheet_tag

Math Filter

abs
ceil
divided_by
floor
minus
plus
round
times
modulo

Money Filter

money
money_with_currency
money_without_trailing_zeros
money_without_currency

String Filter

append
camelcase
captialize
downcase
escape
handleize
md5
newline_to_br
pluralize
prepend
remove
remove_first
replace
replace_first
slice
slice_single // String Filter 'slice' with single parameter
split
strip
lstrip
rstrip
strip_html
strip_newlines
truncate
truncatewords
upcase
url_encode
url_escape
url_param_escape

URL Filter

asset_url
asset_img_url
img_url

Release

2.0.3

  • Fix wrong spacing in schema blocks

2.0.2

  • Fix missing colon in tag _color

2.0.1

  • Fix typo for color picker in schema

2.0.0

  • Add new schema tags: _schema, _text, _page, ...
  • BREAKING: remove hard/auto dependency of the extension

1.3.0

  • Add theme tags: render, renderwith

1.2.0

  • Add theme tags: schema, stylesheet, stylesheet_scss,

1.1.1

  • Update readme, step to enable Emmet

1.1.0

  • Add whitespaced comment tag

1.0.1

  • Add keep both tag for whitespace and non-whitespace control

1.0.0

  • Add whitespace control

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].