Skip to content
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

Missing completions for section locales #720

Open
david-w-shopify opened this issue Jan 20, 2025 · 0 comments
Open

Missing completions for section locales #720

david-w-shopify opened this issue Jan 20, 2025 · 0 comments
Labels
Bug Something isn't working SEV-2 High Severity

Comments

@david-w-shopify
Copy link

Describe the bug
When using the locales object in a section schema, those locales aren't surfaced as completion suggestions

Image

Source

// section/test-section.liquid

{{ 'sections.test-' }}

{% schema %}
{
  "name": "Section",
  "locales": {
    "en": {
      "title": "Title"
    }
  }
}
{% endschema %}

Expected behaviour
Whilst typing 'sections.test-' in the tag at the top, 'sections.test-section.title' | t' should be suggested, like with locales defined in locales/*.json

Actual behaviour
Nothing is suggested

Debugging information

  • OS: Mac
  • OS Version: Sequoia 15.2
  • Theme Check Version: 3.73.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working SEV-2 High Severity
Projects
None yet
Development

No branches or pull requests

2 participants