Repository navigation
@shopify/theme-language-server-common@2.23.0
Minor Changes
-
96af869: Support LiquidDoc string enums in hovers and completions
Allowed values are kept through assignments, and
render,content_forandblockparameter completions insert the first one. Thedefaultfilter widens enum values tostring.
Patch Changes
-
0bbd0f8: Complete and hover the implicit
contentparameter insideblocks/*.liquid.Bare
contentis astringvariable in every theme block file, andblock.contentis astringproperty there. A later assign or capture changes the variable's type from that point. A schema setting or LiquidDoc parameter namedcontentkeeps thestringtype. -
1dd77e8: Complete and hover
blocktag arguments from the target block's schema settings, LiquidDoc parameters, and built-incontent.Completion offers plain parameter names with schema-derived value templates and skips arguments the call already passes. Completion and hover show requiredness, the Liquid type, the LiquidDoc description, and the theme setting's label and info, resolving
t:keys from the default schema locale. Theblocktag is offered only intemplates/**/*.liquidandlayout/*.liquidfiles.Inside
blocks/*.liquid, each schema setting ID also completes and hovers as a plain variable with the same schema-derived type asblock.settings.<id>. A same-named LiquidDoc parameter describes that variable, and the schema sets its type. -
Updated dependencies
-
Updated dependencies [699780b]
-
Updated dependencies [0bbd0f8]
-
Updated dependencies [8605865]
-
Updated dependencies [169ff04]
-
Updated dependencies [2a150cd]
-
Updated dependencies [9c04ccb]
-
Updated dependencies [9f1fa97]
- @shopify/theme-graph@0.3.4
- @shopify/theme-check-common@3.30.0
- @shopify/liquid-html-parser@2.10.2