CodeSnip is an open source code bank for storing, editing and viewing source code snippets, with special support for snippets written in Pascal.The current release (v4.15.1) has the following features:
- Each user can create and edit their own code snippets.
- There is also the option to import snippets from the online You can't view the links! Click here to register. These snippets are all written in Pascal and are all tested to a greater or lesser extent.
- Snippets can be grouped by category, alphabetically or by type.
- Snippets written in Pascal can test-compiled with any installed version of Delphi or FreePascal. Use this feature to validate the syntax of code without having start your compiler's IDE. See the program help or read-me file for details of how to set up CodeSnip to use your compilers.
- Snippets can be searched for snippets that contain specified text, for cross referenced snippets. In addition you can search for Pascal snippets that compile under given versions of Delphi or Free Pascal.
- Snippets are easily shared: CodeSnip lets you export one or more snippets into a file that can then be imported by another user.
- 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.
- Individual routines 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.
- Units and Pascal include files can also be exported as syntax highlighted XHTML or rich text files. The Pascal syntax highlighter can be customized.
- Snippets can be duplicated to make it easy to base a new snippet on an existing one. This feature is also useful for making editable versions of read-only snippets from the online database.
- Snippets can be imported from the You can't view the links! Click here to register.
- Each user's database can be backed on into a single file for easy archiving.
- The program will notify you whenever an update to the program or the online Code Snippets database is available.
- There is a comprehensive help file as well as other useful You can't view the links! Click here to register.