better-comments icon indicating copy to clipboard operation
better-comments copied to clipboard

Please add support for mcfunction language. If not possible, documentation on how to add new languages would be nice.

Open diversifiedplayz opened this issue 3 years ago • 5 comments

mcfunction is a lang used to make Datapacks for mc.

diversifiedplayz avatar Apr 13 '22 10:04 diversifiedplayz

All languages should now be supported through the use of a language configuration file. What syntax highlighting extension do you use for this language?

aaron-bond avatar Apr 13 '22 10:04 aaron-bond

this one

diversifiedplayz avatar Apr 13 '22 12:04 diversifiedplayz

Looks like # should be the supported single line comment syntax for this. Does it not highlight? Could you share a sample file for me to reproduce the issue?

aaron-bond avatar Apr 13 '22 13:04 aaron-bond

https://github.com/SpyglassMC/vscode-datapack/blob/master/language-configuration.json for reference

aaron-bond avatar Apr 13 '22 13:04 aaron-bond

test.mcfunction.zip How will the syntax of comments work, if /** */ isn't how comments are declared

diversifiedplayz avatar Apr 13 '22 15:04 diversifiedplayz