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

Exerciser highlight error #18

Open
acoroleu-tempus opened this issue Apr 30, 2021 · 3 comments
Open

Exerciser highlight error #18

acoroleu-tempus opened this issue Apr 30, 2021 · 3 comments

Comments

@acoroleu-tempus
Copy link

acoroleu-tempus commented Apr 30, 2021

While trying this expression from the docs in the exerciser:
Account.Order.Product { Product Name: {"Price": Price, "Qty": Quantity} }
The highlight seems to break for Price. On the other hand this expression does not break the highlight:
Account.Order.Product { Product Name: {'Price': Price, "Qty": Quantity} }

Am I doing something wrong? Any plans to fix it?

Thanks

@acoroleu-tempus
Copy link
Author

Any updates on this? Thanks

@andrew-coleman
Copy link
Member

No, but let me paste here the response I made when you raised this in the JSONata repo:

The exerciser uses Monaco for the editor and supplies a config file which instructs the editor how to highlight the tokens. You could try fiddling with this to see if you can get any better results than I've managed.

This is not something I am going to get to any time soon, but I'm happy to look at a PR if you improve how it renders.

Thanks.

@DevDimov
Copy link

Hi @acoroleu-tempus, it looks like the issue has been resolved. Have you had any other highlight errors in the meantime?

Screenshot 2024-05-31 125420

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

3 participants