You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah, this is due to #! being considered for block comments.. A space between the first and second lines would break the block. I haven't seen #! bang comments being used for mcfunction, interesting
@RitikShah, for a script file to be correctly interpretable as such in Linux-based OSes, especially when executable (chmod +x), it requires a shebang at the start of the file, denoted with the #! syntax. ECMAScript nowadays supports this, 1 and Python has always supported it, so it's not uncommon. Having xdg-open set as the default invoker allows it to be executable, but still be set to the OS or DE's default file-to-application association.
What type of issues are you dealing with?
Incorrect highlighting
What happened?
This applies even if the comment isn't indented.
Which text editors are you seeing the problem on?
VSCode
Include a code snippet
The text was updated successfully, but these errors were encountered: