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

Syntax highlightning and code check #1

Open
macmladen opened this issue Dec 13, 2021 · 1 comment
Open

Syntax highlightning and code check #1

macmladen opened this issue Dec 13, 2021 · 1 comment

Comments

@macmladen
Copy link

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?

@SylvainTirreau
Copy link
Owner

SylvainTirreau commented Dec 13, 2021

Hello Mladen,

I added the path for Mac in readme.md.

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants