theme-tools icon indicating copy to clipboard operation
theme-tools copied to clipboard

IntelliSense support within {% stylesheet %} and {% javascript %} tags

Open alvinkonda opened this issue 9 months ago • 1 comments

I would love to have vsCode IntelliSense support for CSS and JS within the liquid files through the recommended way of adding CSS and JS from Shopify.

Within the following tags

{% stylesheet %} 
  some CSS code 
{% endstylesheet %}` 

and

{% javascript %}
  some JS code 
{% endjavascript %}

Any ideas?

alvinkonda avatar Mar 19 '25 06:03 alvinkonda

I have good news for you! This just recently merged: https://github.com/Shopify/theme-tools/pull/851

We're talking about adding support for JavaScript, too, but it's a slightly larger lift.

graygilmore avatar Mar 19 '25 23:03 graygilmore