roCodeSnip - Manage Code Snippets - a B4J Open Source App - Copyright (c) 2014, Robert W.B. Linn, Pinneberg, Germany
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:
The item form is called when adding or editing an item. The form contains the database fields:
SubName | Unique SubName. |
Description | Brief description about the Code Snippet. |
Dependencies | Library dependencies. Select from the list or enter any other text. The list is maintain in the settings. |
Tags | Tags to search for. |
Modified | Date and time last change. Use symbol Date to set to now. |
Code | The code. |
The buttons at the bottom of the form:
The settings form enables to set app preferences:
Copy Item with SubName | Copy the item to the clipboard with SubName instead of Code only. |
Code Wrap Text | Wrap the text of the Code field in the Item form. |
Set last selected item | When restarting the app, set last selected item in the list. |
Dependencies | List of dependencies as taken from the B4J and Additional Libraries. |
Date Time Format | Date 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.