Snippets

To add and remove snippets click on the toolbar buttons or choose Add or Remove Snippet from the Snippets menu. To edit a snippet's information you need to bring up the Snippet Info panel either by pressing the Info toolbar button or choosing Show Snippet Info from the Snippets menu. From here you can change various attributes about the metadata.
If you enter in a valid URL into the source field (either http://, file:// or svn://) then the go to button will be enabled. If you click on this you will be taken to the location. By changing the language of the snippet you also change the syntax highlighting. The language list will contain all installed languages.
At the bottom of the Snippet Info panel you can lock the editing of a snippet in the code area. This will prevent any editing in the code area when this snippet is selected, though you will still be able to edit the attributes and select and copy from the code area. The button on the bottom right shows whether a snippet is shared. When a snippet is shared on CodeCollector.net this button will appear green and be clickable. Clicking on it will take you to the snippet online.
There is now enhanced support for dragging and dropping snippets to and from Code Collector Pro. Simply drag a snippet in the snippets table, just as you would for adding to a group, and drop it onto another application to have the code inserted. You can also select some text in another application and drag it into the source list in Code Collector Pro to create a new snippet with that text