minecraft-dev / MinecraftDev

Plugin for IntelliJ IDEA that gives special support for Minecraft modding projects.
https://minecraftdev.org/
GNU Lesser General Public License v3.0
1.45k stars 179 forks source link

Support for .mcfunction extension #615

Open UpcraftLP opened 5 years ago

UpcraftLP commented 5 years ago

Since 1.12, Minecraft now has so-called functions. Those are text files ending in .mcfunction (refer to the Minecraft Wiki article), and are basically a series of commands that will be execuded when a user runs /function <function name> ingame.

It would be nice if the plugin at least recognized the file extension, even better if we had some syntax highlighting for the commands.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

UpcraftLP commented 5 years ago

I don't think this has been implemented..

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

KisaragiEffective commented 4 years ago

Interesting, I may try implement some tiny support?

emielderckx commented 3 years ago

Interesting, I may try implement some tiny support?

Yes this would make creating datapacks so much better

DenWav commented 3 years ago

I like the idea, happy to accept PRs.

Earthcomputer commented 3 years ago

My two cents: it would be a bit of a maintenance burden.

emielderckx commented 3 years ago

https://github.com/Arcensoth/language-mcfunction I'm not a coder, but maybe you can use this. Some functions of it work allready with TextMate on intellij

DenWav commented 3 years ago

My two cents: it would be a bit of a maintenance burden.

lol yeah, every platform is a maintenance burden though.

https://github.com/Arcensoth/language-mcfunction I'm not a coder, but maybe you can use this.

That looks nice, though it's not in a format usable for us. We'd still need to do a lot of manual work.