PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This page concerns the 270056D version of WINDEV Mobile 27. Update your version.
  • In this lesson you will learn the following concepts
  • Questions/Answers
  • How to view the element to which the WLanguage code displayed in the code editor belongs?
  • How to print the WLanguage code displayed?
  • How to "Find and/or Replace"?
  • What is the meaning of "+" and "-" signs in the code editor?
  • How can I know who wrote a line of code?
  • Is it possible to get the number of a line of code?
  • Is there a way to easily get the syntax or help on a WLanguage function?
  • What are the useful shortcuts in the code editor?
Lesson 3.10. Questions/Answers
In this lesson you will learn the following concepts
  • Questions/Answers.
Lesson duration

Estimated time: 10 mn
Previous LessonTable of contentsNext Lesson
Questions/Answers

How to view the element to which the WLanguage code displayed in the code editor belongs?

To view the element that corresponds to the current WLanguage code, go to the "Code" tab, "Navigation" group and click "Go to element" (Ctrl + Alt + F2). The window containing the desired element is displayed.

How to print the WLanguage code displayed?

To print the current WLanguage code, click Print in the "Home" tab or press Ctrl + P.

How to "Find and/or Replace"?

To use the options Find and Replace (in the code, interface, etc.), go to the "Home" tab, "Find" group or to the "Find - Replace" pane (Ctrl + F) :
Find - Replace pane
Then, you can define the different characteristics of the search.

What is the meaning of "+" and "-" signs in the code editor?

The code editor allows you to expand or collapse the WLanguage code. This feature is very useful if your processes use a lot of structured statements (loops, conditions, browses, etc.).
To collapse a group of lines of code, on the "Display" tab, in the "Collapsible code" group, expand "Collapse" and select "Collapse all" (or press Ctrl + Shift + *).
Only the comments remain visible. Hovering over each comment allows you to view the associated WLanguage code in a tooltip:
WLanguage code collapsed/expanded
Press Ctrl + * to expand the entire WLanguage code. Click the "-" or "+" symbols to collapse or expand the corresponding code section.

How can I know who wrote a line of code?

Press F6 to see the information of each line of code (name and date created/modified).

Is it possible to get the number of a line of code?

In the code editor, to show or hide the numbers of the lines of code, go to the "Display" tab, "Help for edit" group and click "Display line numbers" (or press: Ctrl + Shift + G).

Is there a way to easily get the syntax or help on a WLanguage function?

When entering a WLanguage function in the code editor:
  • the name of each parameter is displayed in a tooltip in the line of code being entered. Hover over the name of the current parameter to see its details.
    If several syntaxes are available, it is possible to switch from one syntax to another using Ctrl + up arrow or down arrow.
  • the syntax of the WLanguage function is displayed in the status bar of the editor.
In the help displayed, the parameters between [ and ] are optional.
For WLanguage functions that use names of data files, controls, windows or reports, the assisted input also displays the list of project elements that correspond to the parameter of the function being typed.
A help page is associated with each WLanguage function and property. This help page can be directly accessed from the editor by pressing F1 on the name of the desired function or property.

What are the useful shortcuts in the code editor?

  • To display the events of a control, method, class, procedure or report block, press F2 while on the name of the desired element.
  • Ctrl + F2 is used to go back to the initial process or event.
    To move from one process/event to another, press F2 repeatedly. To go back to the initial process or event, press Ctrl + F2 the same number of times.
  • Ctrl + L deletes the current line.
  • Ctrl + D duplicates the current line (or the selected lines) on the line below.
  • Tab and Shift + Tab are used to increase and decrease the indent of the selected lines.
  • "Ctrl + /" comments the selected lines and "Ctrl + Shift + /" removes the comments (Caution: / key on the numeric keypad).
  • Ctrl + R is used to automatically re-indent the displayed code.
Previous LessonTable of contentsNext Lesson
Minimum version required
  • Version 27
Comments
Click [Add] to post a comment