ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Editors / Code editor
  • Overview
  • Displaying/Hiding empty WLanguage events
  • Overview
  • Displaying empty WLanguage events
  • Displaying/Hiding WLanguage events of overridden templates
  • Overview
  • Displaying WLanguage events of overridden templates
  • Displaying/Hiding the line numbers
  • Overview
  • Display line numbers
  • Show/hide element procedures and methods
  • Overview
  • Display procedures and methods of the current element
  • Show/hide date and author
  • Overview
  • Show date and author
  • Show/Hide sub-element code
  • Overview
  • Show code of subelements
  • Sort in alphabetical order
  • Overview
  • Alphabetical sorting of methods and procedures
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Displaying/Hiding empty WLanguage events

Overview

The code editor displays the code of a multi-selection (several fields, several global procedures, several class methods, etc.). Each element has a number of WLanguage events.
Displaying all these events can impact readability, despite the fact that most of them are empty.
By default, empty events are not displayed.

Displaying empty WLanguage events

To display empty WLanguage events:
  1. Go to the code editor.
  2. On the "Display" tab, in the "Help for edit" group, check or uncheck "Show empty processes". If empty WLanguage events are already displayed, they are automatically hidden and vice versa.
You can also press Ctrl + F6.
Displaying/Hiding WLanguage events of overridden templates

Overview

If the element displayed in the code editor is associated with a template, you can display the WLanguage events of the overridden templates.

Displaying WLanguage events of overridden templates

To display the WLanguage events of overridden templates:
  1. Go to the code editor.
  2. On the "Display" tab, in the "Help for edit" group, check or uncheck "Show processes of templates". If these events are already displayed, they are automatically hidden and vice versa.
Displaying/Hiding the line numbers

Overview

The code editor allows you to display a line number in front of each line of code.
The line numbers are not displayed by default.

Display line numbers

To display the line numbers:
  1. Go to the code editor.
  2. On the "Display" tab, in the "Help for edit" group, click "Show line numbers". If line numbers are already displayed, they are automatically hidden and vice versa.
It is also possible to use the Ctrl + Shift + G key combination.
Show/hide element procedures and methods

Overview

The code editor displays the procedures and methods of the current element in the same code window.
By default, the procedures and methods of the current element are displayed.

Display procedures and methods of the current element

To display procedures and methods for the current element:
  1. Go to the code editor.
  2. On the "Display" tab, in the "Help for edit" group, click "Show procedures/methods of the element". If the element's procedures and methods are already displayed, they are automatically hidden, and vice versa.
Show/hide date and author

Overview

The code editor displays the date and author of each line of code.
By default, this information is not displayed.

Show date and author

To display the date and author of a line of code:
  1. Go to the code editor.
  2. On the "Display" tab, in the "Help for edit" group, click "Show date and author". If the dat and author are already displayed, they are automatically hidden, and vice versa.
You can also use the F6 key.
New in version 2025
Show/Hide sub-element code

Overview

The code editor displays the codes of all sub-elements of the current element. For example, for a window, you can display in the code window the code for all the fields in the window
By default, this information is not displayed.

Show code of subelements

To display the code of sub-elements of the current element:
  1. Position yourself under the code editor to display the code for the current element.
  2. On the "Display" tab, in the "Help for edit" group, click "Show code of subelements". If the sub-element code is already displayed, it will be hidden and vice versa.
It is also possible to use the "All codes" option in the context menu of the element present in the "Project Explorer" pane.
The "Show empty treatments" option is taken into account when displaying all codes.
Note This option replaces the "All codes" option in the "Code" tab of the ribbon available in versions 2024 and earlier.
New in SaaS
Sort in alphabetical order

Overview

By default, the various procedures in a procedure collection, or the methods of a class, are sorted in the code editor according to the order in which they were created. For easier code reading, you can display these procedures and methods in character set order in the code editor.
No need to dequeue or search for a procedure!

Alphabetical sorting of methods and procedures

To sort alphabetically the procedures and methods displayed in the current code view:
  1. Go to the code editor and display the codes in the collection of procedures or
  2. On the "Display" tab, in the "Help for edit" group, click "Alphabetical order".
  3. The various methods and procedures displayed in the code editor are sorted alphabetically.
Remarks:
  • If WLanguage events are also displayed in the code editor, these events retain their sorting mode.
  • This function allows you to change the display mode of all procedures or methods. It is also possible to move a single procedure or method. For more details, see Moving procedures and methods.
Attention This feature is only available in WINDEV Suite SaaS 2025 Update 1. For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/01/2025

Send a report | Local help