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

Incorrect definition of "!" #5

Open
TimeTq opened this issue Oct 6, 2020 · 1 comment
Open

Incorrect definition of "!" #5

TimeTq opened this issue Oct 6, 2020 · 1 comment

Comments

@TimeTq
Copy link

TimeTq commented Oct 6, 2020

Hi, thanks a lot for your extension.
I get a problem with "!" symbol. I am using "Dark+" theme. If rules are large and have "!"than VS code highlights everything as string until finds close quote.
Screenshot

To solve that problem I added "!" in tm1.rule.syntax.json:
{ "name": "section.control.tm1rule", "match": "(FEEDERS|FEEDSTRINGS|SKIPCHECK|!)" },

Maybe you know a better solution or I made something to get this error?

@adscheevel
Copy link

I ran into the same issue today. While your change does work, the proper fix I believe is to update the entity.reference regex characters. I've done that in this pull request: #6

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