The ogDevTools component helps the developer in its daily routine with they 4D products. It gives some meta interfaces, with high level interaction with your database. It is divided into actions and modules for Databases, Methods, Forms, and Miscellaneous.
Only in EN. Dependencies: ogKrolific
ogDevTools is now in V2 !
What’s new? This version offers two major improvements.
Unused! undeclare
Bored with all you already declared locals you want to remove? Do it in a snap using this new tool: undeclares all unused locals, for variables and arrays (with parameters untouched).
Keywords manager
Classes are made with encapsulated blocks where locals are independant: "No Tag", "declaration", "constructor", "function", "computed attribute". Now, the catalog is composed of a collection with the different blocks detected for those keywords. This is like magical, you can use it for Declare! & Rename! & Unused! and magikDoc, for methods as before, and now for Classes as well !
Databases
The goal is to explore (search widget), see, analyse and drag&drop all the items between databases. It integrates Gnânam, a new widget and Explorer for your host project databases. You have one DB Explorer for your current host, or DBs Explorer that opens a Form with as many explorers for the databases you want, and make Drag&Drop easily.
Methods
With Methods Locals, you can see and filter methods from how many Undeclared, Unused, and Unnamed. When you begin to use this module, you can’t stop to use it after all, it is so powerful.
With Declare&Rename!, we wanted to propose, with naming spaces, an easy way to automatically declare from locals based on they names, and rename based on they declaration’s types. Based on naming space’s conventions (3 available), modifies the local’s names for your methods in a snap. You can also convert all the variables of a selection of methods in a project from one space to an other: just blowing mind!
With MagikDoc, the goal was to get an instant documentation for databases in markdown, but specifically for component: if you get the call, the parameters, with the alias name and the type, you have almost all!
You generate your markdown documentation for your methods in a snap, with different tags you can modify and update. A dedicated « Component’s Documentation Viewer », thru 4DPop, proposes all the components found with some .md in them, and opens a Form with all methods with .md and the markdown in a click. Just astonish.
You have MagikActions, a set of predefined actions you can do on methods, like convert C_XXX() to Var xxx: Type, or create a #DECLARE based on $vLocal:=$n or $0:=$vAnswer…
All of this is accessible for batch actions or macro individual method.
Forms
This interface is helpful to find the occurrences of subForm basic name, making easy to find your component’s widgets without restless nights…
Miscellaneous
Some common quick actions, to see files, folders, open doc…
Dependencies: ogKrolific. Better with ogPop and 4DPop.
Access
The 4DPop and macro menus.
Some screenshoots
Gnânam DBs explorer
Here four project's databases in a form, with drag&drop for all elements.
Methods locals
Bulk actions on method's selection. Declare! & Rename! & Unused! Access from method's list, and filter on undeclared, unused, and unnamed.
Quick actions
An overview of actions available for bulk method's selection, or on macro menu.
Newly added:
- Unused! (locals remove)
- #DECLARE → Pasteboard // Use real #DECLARE found in methods
- #Compiler_ → Pasteboard, space xxx // Use the parsed local symbol table for methods and propose the definitions for methods.
Example of generated code for your Compiler_methods...
// x__locals_catalog_specifics
var x__locals_catalog_specifics; $1; $2; $3 : Text // $vT_line, $vT_comment, $vT_specifics
var x__locals_catalog_specifics; $4 : Object // $vJ_catalog
var x__locals_catalog_specifics; $5; $6; $7 : Pointer // $vP_vL_parameters, $vP_vL_param_optional, $vP_vL_param_generic
var x__locals_catalog_specifics; $0 : Boolean // $is_found
// x__locals_declare
var x__locals_declare; $1 : Collection // $vC_linesMethod
var x__locals_declare; $2; $3; $4; $5; $6; $7 : Pointer // $vP_aT_locals_name, $vP_aL_locals_type, $vP_aT_locals_nameTarget, $vP_aL_locals_typeTarget, $vP_vT_method, $vP_vT_errors
var x__locals_declare; $0 : Integer // $vL_count
magikDoc!
Create the skeleton for the documentation of your components and host databases in a few clicks.
Methods Component's documentation
Component's markdown viewer.
Code Snippets
Dynamic snippets library.
Emoji code insert
Macro menu, with here emoji insert.