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

Bug: Macro variables are coloured inconsistently #5

Open
DorkOrc opened this issue Oct 16, 2023 · 2 comments
Open

Bug: Macro variables are coloured inconsistently #5

DorkOrc opened this issue Oct 16, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@DorkOrc
Copy link

DorkOrc commented Oct 16, 2023

What type of issues are you dealing with?

No response

What happened?

The colour of macro $(variables) is different depending on what kind of text they are embedded in.
In my example, the former will appear blue and cyan, and the latter will appear orange and green.

Which text editors are you seeing the problem on?

VSCode

Include a code snippet

$scoreboard players get $(name) home_$(home)_x
@DorkOrc DorkOrc added the bug Something isn't working label Oct 16, 2023
@RitikShah
Copy link
Collaborator

Somehow missed this but I'll say this is pretty tricky to solve since macros are just string replacements. Since they can appear in the middle of any token, It's basically impossible for me to consider that unless I use some sort of nested syntax definitions similar to jinja templates

@RitikShah RitikShah closed this as not planned Won't fix, can't repro, duplicate, stale Jun 27, 2024
@RitikShah RitikShah added the wontfix This will not be worked on label Jun 27, 2024
@RitikShah RitikShah reopened this Jun 28, 2024
@RitikShah
Copy link
Collaborator

i changed my mind, i might have special highlighting within $macro lines

@RitikShah RitikShah removed the wontfix This will not be worked on label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants