roCodeSnip Brief Help

roCodeSnip - Manage Code Snippets - a B4J Open Source App - Copyright (c) 2014, Robert W.B. Linn, Pinneberg, Germany


Description

The purpose of roCodeSnip is to have quick access to Code Snippets while developing, but als to manage the Code Snippets accordingly. This is achieved, by placing roCodeSnip at the top right of the screen, with the development IDE left to it. The Code Snippets are listed by their SubNames (sorting can be done via the Extra Functions button). To copy either press Ctrl+C or double click on the selected item.

The Code Snippets are stored in a SQLite database codesnip.db in table codesnippets with fields: ID (INT), SubName (TEXT),Description (TEXT),Code (TEXT),Dependencies (TEXT),Tags (TEXT),Modified (TEXT)

The main window, which is Toolbox styled, lists the Code Snippets SubName. Each SubName is unique. The main window is closed by clicking on the [X] in the upper right corner. Double clicking on the selected item, copies the code to the clipboard.

For the selected Code Snippet, the description is shown at the bottom of the list. Please note that most of the fields and buttons do have a tooltip related.

The toolbar provides following functions:

Item Form

The item form is called when adding or editing an item. The form contains the database fields:

SubNameUnique SubName.
DescriptionBrief description about the Code Snippet.
DependenciesLibrary dependencies. Select from the list or enter any other text. The list is maintain in the settings.
TagsTags to search for.
ModifiedDate and time last change. Use symbol Date to set to now.
CodeThe code.

The buttons at the bottom of the form:


Settings Form

The settings form enables to set app preferences:

Copy Item with SubNameCopy the item to the clipboard with SubName instead of Code only.
Code Wrap TextWrap the text of the Code field in the Item form.
Set last selected itemWhen restarting the app, set last selected item in the list.
DependenciesList of dependencies as taken from the B4J and Additional Libraries.
Date Time FormatDate and time format for last change in modified field of the Item form.

For more information please visit the author's home page. Enjoy this App. Thank You.