Hello everyone! Today, I bring to you my simple, yet very useful, user-made coding language for Notepad++ based on Minecraft commands. It highlights most Minecraft-related tags, as well as all commands, block ids, sounds, entities, etc. Here's it in action:
Now, it also includes an auto-completion file! What that means is that, when writing your commands, you don't need to try and remember the id of that block, or how to spell an entity's name, or what the name of a certain command is: by typing in the first letters, it'll show a list of names to complete your words!
If I missed anything, should add something else or if you have any idea related to this, let me know, and I'll happily reply (and probably execute your request).
Here's the file for you guys to try out:
mc.xml Version 1.1 [Dropbox]
Minecraft Cmnds.xml Version 1.0 [Dropbox]
(Note: for being on Dropbox, every occasional update holds the same link, so all you need to do is redownload on the same link)
How to install a user-made language:
First, once you have Notepad++ open, go to [Language], then [Define your language...].
Next, on the pop-up menu that will, well, pop up, look for the [Import] button.
Browse into the folder where you saved the .xml file, then double click the file. If you selected the right file, this should appear:
That's it! Now you'll need to restart Notepad++ for it to show up. Once you've closed and re-opened it, the custom language should show up in the [Language] tab already.
If it is there, just click it and have fun building amazing overcomplicated contraptions!!!
How to uninstall/reinstall a user-made language:
First, you're going to need to go to the [Language] option and search for [Define your language...].
Next, once the pop-up shows up, go to the "User language:" list and select the user-made language installed.
Then, you'll click the [Remove] button with the language selected.
Once a confirmation window pops up, press [Yes].
If you want to reinstall or update a user-made language, just follow the installation explanation after uninstalling.
How to install Auto-Completion files:
First, go to your Notepad++ installation file (most commonly at C:\Program Files\Notepad++). Open it and look for the plugins folder. Open it, and go to the APIs folder. Open it.
Drag the file you've downloaded for the Auto-Completion (should be named Minecraft Cmnds.xml) and drop it on the opened folder:
And that's it! Your auto-completion file is ready to go! However, you need to activate the feature inside Notepad++ itself.
Activating/deactivating Auto-Completion for Notepad++:
First, go to the [Settings] tab on Notepad++, then open the [Preferences...] option:
Once the Preferences window opens, select "Auto-Completion" in the right tab:
Once that tab is selected, mark the "Enable auto-completion on each input" checkbox. Make sure that the first option, "Function completion", is the one selected. Additionally, you may change the value of "From [N] th character" to whatever number suits your needs better:
And that's it! If you want to remove the auto-completion functionality, simply follow all these steps again, but uncheck the checkbox instead. Furthermore, if you want the auto-completion function, but in a non-invasive way, you may use the auto-completion shortcut (default to [Ctrl]+[Space]).