When trying to add a comment without a space right after the # character, highlighting doesn't work properly.
It seems like other parts of syntax are taking priority over single line comments, perhaps fake player names. Switching around the order in mcfunction.tmLanguage.json from
What type of issues are you dealing with?
Incorrect highlighting
What happened?
When trying to add a comment without a space right after the
#
character, highlighting doesn't work properly.It seems like other parts of syntax are taking priority over single line comments, perhaps fake player names. Switching around the order in
mcfunction.tmLanguage.json
fromto
seems to take care of the issue, although I haven't extensively tested this fix.
Which text editors are you seeing the problem on?
VSCode
Include a code snippet