An open source Delphi source code repository / code bank and viewer for user defined source code along with code extracted from the online DelphiDabbler CodeSnip database.
Version: 4.8.7CodeSnip is a Delphi source code repository or code bank that can be used to display routines, types and constants from the DelphiDabbler code snippets database along with user defined code snippets.
Operating System: Windows
User defined code can be added, edited, deleted, saved, backed up and restored. When first run the program downloads the CodeSnip database from the DelphiDabbler website and stores it locally. It can also check the database for updates as required.
Routines are displayed either by category, alphabetically or by type. Details of any snippet can be displayed.
The detail display includes a brief description, syntax highlighted source code, a list of required Delphi units, a list of other required snippets from the database and details of which version of Delphi the snippets compile with. The repository can be searched either for snippets containing specified text, for snippets that compile under specified versions of Delphi and for cross-referenced routines.
Words found in a text search are highlighted in the display. Snippets can be exported as Pascal include files, plain text files or syntax highlighted XHTML or RTF files. Pascal units containing selected snippets can also be generated.
CodeSnip can also test compile any snippet with any Win32 Delphi compiler from 2 to XE5 and the Free Pascal Compiler. The results of the compilation can be displayed.
Compilers must be installed on the local computer and CodeSnip must be told where they are installed before it can use them. User defined code can be submitted for inclusion in the online database. Code can also be exported and imported.
From v4.1 CodeSnip has also been available in a portable edition that can be run from removable media and that makes no changes to the host operating system. From v4.2 A list of "favourite" snippets can be maintained for quick access to frequently used snippets.
Version 4.8.7: Added support for Delphi XE5 compiler (v4.8.0) Various bug fixes (v4.8.1 to v4.8.7)