Automated tabulation in classes

0 votes
asked May 25, 2019 in Wanted features by anonymous

Having prepared to define a table:

!define T (P,YellowGreen) Database Table
!define table(x) class x <<T>>
!define primary_key(x) <b>PK: x</b>
!define foreign_key(x,reference) <b>FK: </b>x

The formatting into colums needs adding \t manually:

  {field} primary_key(uid) : \t\t\t uid \t just put a primary key to every table
  {field} customerno : \t\t integer \t counting customers
  {field} customername : \t string \t let them have a name

First it should be possibl to let ":"  start a column automatically.

Second wish, that the columns align automaticall (similar to a pattern in LaTeX  l, c, r, X would be great ;-)
instead of writing \t\t\t to get it somehow "nice formatted".

Does any body have an idea how to sort that out globally for all groups, {fields}, ... ?
The columns may have different with for fields and methods and by X the text might not disturb the name area and break into several lines instead of making the diagram to wide.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.