GXYiImprovementsInDeveloperExperience

Unofficial Content
GeneXus 9.0 Upgrade Course

Improved Developer Experience

Introduction

The following sections describe all the improvements made to the Development Environment in order to simplify the developer's life.

Source Edition

Tips for Editing Transactions

The following features are available for editing transaction structures:

Attribute Name Autocomplete

While typing an attribute name, the editor automatically completes the name with the first existing attribute that matches the characters typed.
As many attributes may start with the same characters, you may use up and down arrows to scroll among them.

img/wiki_up//twgxyiimpuserexptrn_01.gif


Shortcut to transaction name prefix

Attribute names usually start with transaction names. For example, in a Customer transaction you have attributes such as CustomerID, CustomerFirstName and so on. If you type a '.' (period) as the first character of an attribute name, it will be replaced with the transaction name. In the previous example, typing ".FirstName" is equivalent to typing ''CustomerFirstName".

Inline Domain definition

Usually, you realize that you need a Domain when defining an attribute's data type. Selecting Advanced/Domain/etc. to create a new Domain may be somehow annoying, so you can avoid it by typing <DomainName>=<DataTypeDefinition> in the Type column. The Domain will be automatically defined. For example, Description=VarChar(40) defines a Description domain with the specified data type.

img/wiki_up//twgxyiimpuserexptrn_02.gif

Formula Shortcut

There is no need to move to the Formula column to type a formula expression. For example, typing InvoiceLineTotal=InvoiceQuantity*ProductPrice in the attribute definition column is enough.

img/wiki_up//twgxyiimpuserexptrn_03.gif

Shortcut to attribute definition

Use Alt Enter to go to the definition of the selected attribute.

Attribute Selector

When searching with the attribute selector, the Pattern in the Selection Criteria section applies to the attribute name and now to it's description too.

Subtypes Group Edition

A new option has been added when defining a Subtype group based on a transaction structure.
Based on a new heuristic, the insertion automatically defines the subtypes based on the selected attributes.

To use it
1. Define a new Subtype Group object.
2. Select Create subtype for... from the contextual menu.
3. Select the desired transaction.
4. For each attribute in the selected transaction structure, a new subtype definition is done taking into account the following:
  • The subtype is named based on the supertype name using the subtype group name as a prefix.
  • If the supertype attribute name starts with the name of the selected transaction, this prefix is changed for the subtype group when defining the subtype.
The Following example creates a Customer Subtype Group based on the Person transaction structure.

img/wiki_up//twgxyiimpuserexpsbtype_01.gif


Based on PersonId, PersonName, PersonBirth, PersonAge, the following attributes are created: CustomerId, CustomerName, CustomerBirth, CustomerAge; in this case the prefix has been automatically replaced. For CityId and CityDsc; the subtypes added the prefix Customer to obtain CustomerCityId and CustomerCityDsc.

Structured Data Type Edition

When inserting attributes or a transaction structure, SDT Items are automatically based on them, minimizing the time spent in their definition.

img/wiki_up//twgxyiimpuserexpsdt_01.gif

Contextual Menu

New Contextual Menu options have been added:
  • Define... enables you to define a variable while coding.
  • Define Based On is shown when a variable ends with a Domain name or matches an attribute.
  • Edit. for existing variables.
img/wiki_up//twgxyiimpuserexpcntmenu_01.gif

Web Form Edition

Text Block Edition.

Text blocks are edited through a new properties option.

Localization

The model bar toolbar now has more language options to edit help text. For more information, click here

img/wiki_up//twgxyiimpuserexploc_01.gif

Windows Interface

  • Deleting a list of objects has never been so easy.

Enhanced Tooltips

  • If a tooltip is lost (for example, after inserting an attribute), you can retrieve it by pressing ','. You can use the left and right arrows to navigate through it. For more information, click here
  • Regarding the new syntax call if the called object has more than one parm rule, the tooltip in the caller object is shown as follows (you can select the desired one with the up/down arrow):
img/wiki_up//twgxyiimpuserexpsyntax_01.jpg

img/wiki_up//twgxyiimpuserexpsyntax_02.jpg

  • The tooltip is activated to whatever function, rule or command where the first parameter is an object. It displays information of Business Components Extended and User data types.


Miscellaneous

  • SAC# 17419 : Environment attributes (WINDOWS, WEB) in subroutines and event.
  • SAC# 16925 : Recent KB history showed KB of different versions.

Related Links

For detailed information about the Development Environment, click here