CodeSnip is an open source code bank for storing and viewing code snippets. It not only manages, displays and manipulates your own code snippets but it can also incorporate snippets downloaded from the DelphiDabbler Code Snippets Database.
Snippets can be displayed by category, alphabetically or by type. Full details of a selected snippet are displayed.
Designed with Pascal in mind, CodeSnip enables Delphi or Free Pascal code snippets to be test-compiled with any installed version of those compilers. Use this feature to validate the syntax of code without having to start your compiler's IDE.
Code in other languages can be stored in CodeSnip although syntax highlighting, source file generation and compiler checking will not be available.
The database can be searched for snippets that contain specified text or for cross referenced snippets. The snippets to be displayed can also be selected manually. In addition you can search for Pascal snippets that compile under given versions of Delphi or Free Pascal.
Frequently used snippets can be marked as "favourites" for quick access.
CodeSnip can generate and export Pascal source code in various ways:
Compilable Object Pascal units containing selected snippets from the database can be generated and written to file.
Individual snippets or whole categories can be written to Object Pascal include files or copied to the clipboard for including in Delphi and FreePascal projects.
Information about snippets can copied or printed.
Selected snippets can be exported to files that can be shared with other CodeSnip users.
Units and Pascal include files can also be exported as syntax highlighted XHTML or rich text files. The syntax highlighter can be customized.
Finally, CodeSnip comes in two editions: standard and portable.
For more information see the FAQ .