To start saving your code snippets into the library, first select a folder or create a new folder within the library where you want to store you code snippet. Then click the "New Snippet" toolbar button.

A new snippet node will be created within the file. Give the snippet a proper name describing it.

Now, paste your code snippet into the new snippet text box.

Finally, you can set the type of code you have pasted by selecting from the "Language Syntax" dropdown list within the toolbar.

Remember to "Save" the changes to your code snippet before continuing.