GameMaker:Studio 2 allows you to create custom code snippets as described here. However, in order to create a code snippet, you'd have to format it in a certain way. This includes getting rid of all the new lines and converting the code into one single line (with several additional characters). With smaller amounts of code this can be manageable, but with bigger code snippets this can be quite frustrating.
This tool can help you with generating those formatted code snippets from existing files with minimal effort. Just select a file containing your code snippet, add a snippet name and key and with a press of a single button all your code is generated and ready to be coppied. You can also double click on the selected code snippet and mark the code that will be selected once the snippet is applied. Easy as that! There is also the possibility of adding multiple code snippets which will be generated in the same file. Just make sure that you don't use the same key!