PC SOFT

WINDEV的在线文档

  • Overview
  • How to proceed?
  • Enabling the automatic completion
  • Notes
  • Language of the code
  • Automatic completion on the type of variables
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

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 "OKA", all the functions, controls, constants, code bricks, ... containing these characters are proposed.
  • propose the value of the possible parameters according to the WLanguage function used.
    For example, when using H读, 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:
  • 16版本和更高版本
    The drop-down lists can be resized.
    16新版本
    The drop-down lists can be resized.
    The drop-down lists can be resized.
  • 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.
    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.
  • 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 for more details.
    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 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 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 the code editor: on the "首页" pane, in the "环境" group, expand "选项" and select "Options of 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 the code editor: on the "首页" pane, in the "环境" group, expand "选项" and select "Options of 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 ".