Official Content

By selecting Tools > Options you can configure many characteristics related to GeneXus Editors, Text indentation, outlining, etc., and much more.

Go to the node called "Editors", it is divided into two sections called: "Text" and "Layout".

Text node

In the Text node you have all the text configuration of the Editors. You can configure how the text will be shown in different sections.

Options-Editor-General-GeneXus 17

In the area to the right you can see a group of tabs, as follows:

General tab

You will use this tab to set the other tabs with their default values. Of course, this occurs if you leave the Use General Configuration check box selected.

  • Settings
    • Word wraps. Use it to specify if the text will make a Wordwrap effect in the editor in use; to do so, use the "Word wrap" check box.
    • Tab size. Use it to establish the spacing positions when you press the Tab key.
    • Automatic parentheses. They are used in methods and/or functions whose syntax specifies the use of parentheses, to have them automatically included and placed correctly.
  • Margin
    • Show margin. Use it to turn on/off a left margin which could contain bookmarks to the related text (see more here).
    • Show line numbers. Use it to turn on/off line numbers to the left margin (see more here). 
    • Highlight modification. Use it to turn on/off a vertical bar to indicate when a change has occurred.
    • Margin Width. Use it to control the spacing between text and left margin.

Indentation tab

Use this tab to establish indentation options related to several sentences. You can select/clear the desired code structures in the list below.

Options - Editors - Indentation tab - GeneXus 17

  • Enable smart indentation. This check box is used to turn on/off the automatic text indentation while you type your code.
  • Indent document on open. If you open an Events selector, for example, the text is automatically arranged (if it is not indented yet). Then, the Enable smart indentation check box will also be automatically selected.

New Line tab

If any of the marked commands below is not at the beginning of the line, it will be placed at the beginning of the next one.

Outlining tab

You may want the structured code pieces to be surrounded by a dotted line frame, as shown in the picture below.

Options - Outlining tab - Do Case example - GeneXus 17

With this feature you can also collapse the piece of code by leaving the check box selected. 

Do Case - Options Editor - 17

To obtain these effects, you need to leave the Enable outlining check box selected.

AutoReplace tab

This tool is very convenient, as it will help you when you have to write a lot of code. Here is when the Autoreplace functionality appears. With it you can type, in consecutive rows, abbreviations, acronyms, synonyms, and any word that you may consider significant for converting code. 

Tools options - editors - Autoreplace v17

Styles tab

You can use this tab to configure some characteristics of the editors, such as fonts, colors, etc.

Tools options - editors - Styles v17

Layout Node

In the Layout node you can configure certain aspects of the Grid, Properties window and Design System Tokens.

Grid

You can set a desired height and width for the Grid.

Properties

You can configure different settings of the Properties window. Such us:

  • Highlight of matches parts of properties names.
  • The color to highlight unselected properties.
  • The color to highlight selected properties.

Design System Tokens

You can set if the Design System Token demo will be shown when opening a DSO.

See Also

IDE Configuration Options


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant