You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an attempt to use PhpStorm to develop for Hubspot, I found your repository and after some trying found out how to place the hubspot.xml into proper directory on Mac which is under ~/Library/Application Support/JetBrains/PhpStorm2021.3/jba_config/templates for those that use JetBrains Acount to sync settings and plugins (probably everyone). It took some time and even JetBrains documents are not accurate on that one (stating inaccurate location).
So I got it working (although not sure why sometimes they are not expanding like get_asset_url() in CSS?) but it makes a little sense to have that expansion when syntax highlighting is not working and file screams with errors from interfering functions and constructs in the CSS.
Have you tried to make syntax highlighting?
What about using Language Injection to simplify adding Hubspot to existing HTML/CSS/JS?
The text was updated successfully, but these errors were encountered:
You're right, it's very frustrating to not have highlighting (I didn't try it; I've only read the doc - link is in readme.md). I thought about language injection, but I've no time for now to do it. It is obviously the best solution...
In an attempt to use PhpStorm to develop for Hubspot, I found your repository and after some trying found out how to place the
hubspot.xml
into proper directory on Mac which is under~/Library/Application Support/JetBrains/PhpStorm2021.3/jba_config/templates
for those that use JetBrains Acount to sync settings and plugins (probably everyone). It took some time and even JetBrains documents are not accurate on that one (stating inaccurate location).So I got it working (although not sure why sometimes they are not expanding like
get_asset_url()
in CSS?) but it makes a little sense to have that expansion when syntax highlighting is not working and file screams with errors from interfering functions and constructs in the CSS.Have you tried to make syntax highlighting?
What about using Language Injection to simplify adding Hubspot to existing HTML/CSS/JS?
The text was updated successfully, but these errors were encountered: