PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Enabling the automatic completion
  • Notes
  • Language of the code
  • Automatic completion on the type of variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
This completion is available for the WLanguage commands, the procedures, the variables, the data files, the items of data files, the windows, the controls, the type of variables, ...
This completion reduces the risk of typos and saves a lot of time: no need to search for the exact name of a global variable or control, it is automatically suggested!
The automatic completion is used to:
  • complete the current input by proposing a list of possible values (function name, property name, ...). All the values proposed in the list contain the word currently typed.
    The content of the list is refreshed whenever a modification is performed.
    For example, when typing "OKC", all functions, controls, constants, code bricks, ... containing these characters are suggested.
  • propose the value of possible parameters according to the WLanguage function used.
    For example, when using HRead, the first expected parameter corresponds to the name of a data file. The automatic completion will only propose the data files of the analysis associated with the current project.
  • select the combinations of constants for a parameter.
    To do so, select the requested options (with the arrow keys) and press the SPACE key to validate these options.
    All selected options are automatically included in the code during the validation (ENTER key).
    Note: The constants are separated in different colored areas used to identify the constants that can be combined (or not) between themselves (two constants found in a colored area with a picker cannot be selected at the same time).
  • start the code wizards. These wizards allow you to enter the different parameters of the function by answering simple questions.
    The <Wizard for xxx> option signals the presence of a wizard. To start the wizard, select this option.
  • start the exissting resources on the function used: example, LST article, code brick, ...
    To start a resource, all you have to do is select it.
Notes:
  • Versions 16 and later
    The drop-down lists can be resized.
    New in version 16
    The drop-down lists can be resized.
    The drop-down lists can be resized.
  • Versions 19 and later
    If your procedure or function is using a project element (window, page, report, ...), you have the ability to get the list of requested elements in the completion. To do so, add an attribute with a specific extension into the declaration of function or procedure parameters. See Parameters of a function or procedure for more details.
    New in version 19
    If your procedure or function is using a project element (window, page, report, ...), you have the ability to get the list of requested elements in the completion. To do so, add an attribute with a specific extension into the declaration of function or procedure parameters. See Parameters of a function or procedure for more details.
    If your procedure or function is using a project element (window, page, report, ...), you have the ability to get the list of requested elements in the completion. To do so, add an attribute with a specific extension into the declaration of function or procedure parameters. See Parameters of a function or procedure for more details.
  • Versions 19 and later
    If you are using a Data Source variable, all you have to do is add an attribute with a specific extension to associate it with an existing data file (or query). In this case, the automatic completion will allow you to access the items directly. See Data Source variable for more details.
    New in version 19
    If you are using a Data Source variable, all you have to do is add an attribute with a specific extension to associate it with an existing data file (or query). In this case, the automatic completion will allow you to access the items directly. See Data Source variable for more details.
    If you are using a Data Source variable, all you have to do is add an attribute with a specific extension to associate it with an existing data file (or query). In this case, the automatic completion will allow you to access the items directly. See Data Source variable for more details.
How to proceed?

Enabling the automatic completion

To enable the automatic completion in your project:
  1. Display the options of the code editor ("Tools .. Options .. Options of code editor").Display the options of code editor: on the "Home" pane, in the "Environment" group, expand "Options" and select "Options of the code editor".
  2. Check "Enable the assisted input" and specify the duration after which the automatic completion must be proposed.
Note: To disable the automatic completion, uncheck this option.
Notes

Language of the code

The list of WLanguage keywords proposed by the automatic completion is available in English or in French.
To modify the code language used by the automatic completion:
  1. Display the options of the code editor ("Tools .. Options .. Options of code editor").Display the options of code editor: on the "Home" pane, in the "Environment" group, expand "Options" and select "Options of the code editor".
  2. Select the language of the code in the "Code language" combo box.

Automatic completion on the type of variables

When declaring a new variable, the different types are automatically proposed. All you have to do is write: "MyVariable is ".
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment