ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Editors / Code editor
  • Overview
  • How to?
  • Starting the impact analysis
  • Finding out the uses of an element in the project
  • Applying a change of name to all the elements found in your project
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
The impact analysis immediately identifies the consequences of the latest changes. An information window is automatically displayed to present the possible ambiguities, the modifications to avoid...
The modifications taken into account are as follows:
  • renaming or deleting an element handled in the project,
  • renaming two different elements with the same name,
  • adding or deleting a parameter to/from a procedure,
  • ...
How to?

Starting the impact analysis

The impact analysis starts automatically when a potentially ambiguous change is made.
For example, creating a control with the same name as another element in the project:

Finding out the uses of an element in the project

To find out the uses of an element in the project:
  1. On the "Project" tab, in the "Audit and performance" group, expand "Static audit" and select "Cross-references".
  2. Enter the name of the element for which you want to find out the uses in the project.
  3. Click "Find". The list of uses for the selected element is displayed:
  4. Double-click one of the uses of the element to view it.
Remark: This window can remain opened while your modifications are performed in the project.

Applying a change of name to all the elements found in your project

To apply a change of name to all the elements found in your project:
  1. Rename the requested element.
  2. When validating the new name:
    • the corresponding errors are displayed in the "Compilation errors" pane.
    • a message is displayed in the upper-right corner of the current environment.
This message proposes to automatically rename all the necessary elements.
The rename operation is automatically performed when this message is clicked.
Remarks:
  • To view all the references that will be modified, select "Renaming impact analysis" in the context menu of the error:
  • You can also start the renaming operation when the new name is validated, by displaying the context menu of the error:
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/25/2024

Send a report | Local help