Menu

Home

Peter Johnson
There is a newer version of this page. You can find it here.

Intro

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 online DelphiDabbler Code Snippets Database.

Designed with Pascal code in mind, CodeSnip enables Delphi or Free Pascal code snippets to be test-compiled with any installed Delphi or Free Pascal compiler and results to be reported. Use this feature to validate the syntax of code without switching to your compiler. Compilable Pascal units containing selected snippets can be generated.

Code in other languages can be stored in CodeSnip although the source file generation and compiler checking features will not be available.

The database can be searched for snippets that contain specified text, 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 routines or whole categories can be written to Object Pascal include files or copied to the clipboard for including in Delphi and Free Pascal 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 srich text files. The Pascal syntax highlighter can be customized.

The CodeSnip project has its own website at http://delphidabbler.com/url/codesnip-home

Downloads

Executable files and source code archives for all versions going back to v3.0 are available from the SourceForge File Manager. Simply navigate to the required release and choose the required file. All exectubale files begin codesnip-exe while source code files begin codesnip-src.

Source Code Repository

Source code is maintained in a Subversion repository on GoogleCode. For details of the layout of the repository and other information about building CodeSnip from source code see the CodeSnip Compiling & Source Code FAQ.

Screenshots

Screenshot thumbnail
Snippet editor
Screenshot thumbnail
Results of test compiling a snippet
Screenshot thumbnail
CodeSnip's start screen
Screenshot thumbnail
Displaying a user defined snippet
Screenshot thumbnail
Part of a Pascal unit generated by CodeSnip
Screenshot thumbnail
Displaying snippet from online database


Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB