Skip to content

Shortcut enhancements + emmet like functionality #920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
stijns96 opened this issue Apr 30, 2025 · 0 comments
Open
1 task done

Shortcut enhancements + emmet like functionality #920

stijns96 opened this issue Apr 30, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@stijns96
Copy link
Contributor

stijns96 commented Apr 30, 2025

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
@stijns96 stijns96 changed the title Shortcut enhancements Shortcut enhancements + emmet like functionality Apr 30, 2025
@mgmanzella mgmanzella added enhancement New feature or request good first issue Good for newcomers labels May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants