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

States and Default blocks broken detection #2

Open
KaptainMicila opened this issue Nov 10, 2020 · 1 comment
Open

States and Default blocks broken detection #2

KaptainMicila opened this issue Nov 10, 2020 · 1 comment
Labels
Duck Taped Duck taped solution. The problem is fixed, but a better solution is welcome. enhancement New feature or request help wanted Extra attention is needed No Kap The Kaptain tried to fix the problem but didn't manage to.

Comments

@KaptainMicila
Copy link
Owner

Both States and Default blocks are detected by searching for the States and Default words in the text.
My plan was to make it that it searched for the two words AND the open curly bracket {, but it seems that VSCode's highlighter does not allow for multiline regexes.
If somebody has a clue how to fix this, I would be really happy about it.

@KaptainMicila KaptainMicila self-assigned this Nov 10, 2020
@KaptainMicila KaptainMicila added Duck Taped Duck taped solution. The problem is fixed, but a better solution is welcome. help wanted Extra attention is needed No Kap The Kaptain tried to fix the problem but didn't manage to. labels Nov 10, 2020
@KaptainMicila
Copy link
Owner Author

The solution I found works, but it's indetation has to be "only one tab".
Of course, I don't like that.

@KaptainMicila KaptainMicila reopened this Nov 10, 2020
@KaptainMicila KaptainMicila added the enhancement New feature or request label Nov 10, 2020
@KaptainMicila KaptainMicila removed their assignment May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duck Taped Duck taped solution. The problem is fixed, but a better solution is welcome. enhancement New feature or request help wanted Extra attention is needed No Kap The Kaptain tried to fix the problem but didn't manage to.
Projects
None yet
Development

No branches or pull requests

1 participant