Install or Update the DelphiDabbler Code Snippets Database

You can install the DelphiDabbler Code Snippets Database into CodeSnip as follows.

  1. Download the latest release of the database from the delphidabbler/code-snippets project on GitHub. You can find the latest release at https://github.com/delphidabbler/code-snippets/releases.
  2. Unpack the downloaded zip file into a new or empty folder on your computer. The folder must not be a sub folder of CodeSnip's application or user database directories.
  3. Display the Install or Update DelphiDabbler Snippets Database wizard from the Database | Install or Update DelphiDabbler Snippets Database menu option.
  4. Skip the first page of the wizard by clicking Next.
  5. On the Select database download folder page of the wizard enter the full path of the folder where you unpacked the downloaded zip file. Click Next.
  6. The Install the database page will now be displayed. Click Load to load the database.
  7. Once the database has been copied the Database installed page will be displayed and you can close the wizard using the Finish button.
  8. The database is now installed. You can now delete both the downloaded zip file and the folder where you unpacked it.

You can periodically check the delphidabbler/code-snippets GitHub account to see if any new releases have been made. To update to the latest release simply repeat the process above.

Notes

A single copy of DelphiDabbler Code Snippets Database is shared by all users of the same computer.

Updating the database has no effect on any user-defined snippets that have been created – they are not overwritten by the update process. However, it does no harm to take a backup of your snippets before performing the update! Use the Database | Backup User Database menu option to do this.

You cannot edit snippets from the Code Snippets Database. You can identify them easily because, by default, the snippet name is displayed in a different colour to user-defined snippets.