Shopify / Shopify/theme-tools

Feature Request: Add Emmet support

Open
#536 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:language-server enhancement
Dominant language
TypeScript
Stars
234
Forks
92
Avg merge
1d 3h
Merged PRs (30d)
6

Description

Is your feature request related to a problem? Please describe.
Writing HTML is slow, and would be much faster if I could use emmet expansions.

Describe the solution you'd like
Support for Emmet expansions (examples here https://code.visualstudio.com/docs/editor/emmet).

As a basic example, I could then type

.my-element#id

After pressing tab, it would be expanded to

<div class=”my-element” id=”id”></div>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the TypeScript language-server and VS Code extension entry points described by the repository, then compare the requested examples with the existing theme-language behavior. Determine where Emmet expansions would be triggered and how Liquid or HTML context affects them. Done means the shown abbreviation expands after Tab, with coverage for the documented examples.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, typescript
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.