Skip to content

Shortcut enhancements + emmet like functionality #920

Description

@stijns96

Is your feature request related to a problem? Please describe.

  • It's annoying to have to write {% to get the full {% %}. Especially when you need an open and closing tag.
  • It's annoying to get the full {% comment %} {% endcomment %} when doing CMD+/ when you're inside a {% liquid %} tag. I would expect a # instead.

Describe the solution you'd like

  • Keep the same shortcut for comment, but use # instead inside liquid tag
  • CMD + { for {% ${0} %}
  • CMD + SHIFT + { for
{% ${1} %}
  ${0}
{% end${1} %}
  • Maybe some other nice feature to automatically get the - in the syntax as well to control the whitespacing.

Describe alternatives you've considered
Emmet like syntax. I've already opened that discussion before, but it would be even handier if you just could type rend and then hit tab to print {% render '${0}' %}. Like I do in my extension. I think that that is also the main reason why people install my extension, but to be honest, I want to mark that one as deprecated if all of the above points could be implemented. The Shopify owned extension became so powerfull without bloating anything, but having this emmet functionality really is a must for me.

Checklist

  • I have checked and made sure that the proposal adheres to this plugin's principles

Activity

  1. changed the title [-]Shortcut enhancements[/-] [+]Shortcut enhancements + emmet like functionality[/+] on Apr 30, 2025
  2. Aditya-myst commented on Oct 28, 2026

    @Aditya-myst

    Hi Shopify Theme Tools team, I’d like to contribute to this issue. To keep the first PR focused, I propose implementing the Cmd/Ctrl + { Liquid-tag snippet and the Cmd/Ctrl + Shift + { paired-block snippet, with extension tests. Please let me know if that is the preferred first scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions