ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Editors / Code editor
  • Overview
  • Automatic checker
  • automatic typing error corrector
  • Spelling checker
  • Disable the spell checker
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
The code editor proposes several tools used to correct the code:
  • the automatic checker of the project elements,
  • New in version 2024
    the automatic typing error corrector,
  • the spelling checker for the comments and the character strings.
Automatic checker
When the name of a variable or element is not recognized, the context menu of the code editor proposes a list of possible corrections. This list presents the name of the variables and/or project elements that may correspond.
For example:
No more risk of typing errors, undeclared Variable, etc.
Simply select the desired name.
New in version 2024
automatic typing error corrector
The code editor proposes an automatic correction for typing errors when moving on to the next row..
For example, at set de la row:
S est une chiane
pressing the Enter key on the keypad automatically corrects the code entered.. This code becomes:
S est une chaîne
To enable this option:
  1. On the "Home" tab, in the "Environment" group, expand "Options" and select "Options of the code editor".
  2. In the "Code" tab, check "Enable automatic correction on Enter".
Spelling checker
The spelling checker of the code editor detects the typos in:
  • the comments,
  • the strings used in the code (simple strings, multilingual messages, dialogs and multilingual strings).
The WLanguage functions and commands are recognized as orthographically correct.
Which spelling checker is used?
The spelling checker used is the one provided with WINDEV/WEBDEV/WINDEV Mobile. This spelling checker can be used:
  • for comments (in French or English, depending on the language used for the code).
  • for multilingual strings in French and English.
For more details, see Check spelling based on Hunspell dictionaries.
The spelling checker is enabled by default.
Multilingual strings
The dictionary used is the one of the displayed language. To change the language displayed, go to the "Display" tab, "Language displayed" group and expand "Language displayed". The spelling checker is an option global to the user.
Remark: By default, the spelling checker is only available English and French. To use the spelling checker for other languages in multilingual strings, simply add the files of the desired Hunspell dictionaries in the "\Programs\Data\Dic" subdirectory directory of the WINDEV, WEBDEV or WINDEV Mobile installation directory.
These dictionaries can be easily found online. These dictionaries include a ".dic" file and a ".aff" file with the same name that must be found at the same location.
Caution: The spelling checker is disabled if the multilingual string uses a coloring that differs from the one of the strings.
Words added to the dictionary
The words that are added to the dictionary can be found in: "C:\Users\<User>\AppData\Roaming\PC SOFT\perso.dic".

Disable the spell checker

To disable the spelling checker:
  1. On the "Home" tab, in the "Environment" group, expand "Options" and select "Options of the code editor".
  2. In the "Code" tab, uncheck the locations (comments or strings) where the spelling checker must not be used ("Enable the spelling checker" option).
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/25/2024

Send a report | Local help