ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Environment / Dockable panes
  • Overview
  • Content of the "Code hashtags" pane
  • Opening the "Code hashtags" pane
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
The "Code hashtags" pane
Overview
The "Code hashtags" pane shows the list of hashtags present in the WLanguage code.
For example, hashtags allows you to identify a line of code to indicate:
  • a pending action,
  • details on the purpose of the code,
  • a bug fix,
  • etc.
Examples: Examples of hashtags that can be found in the code:
// #Exemple Exemple de Hashtag
// #TODO Finir de tester le code
Rules
Code hashtags must follow these rules:
  • Hashtags must be used in comments. For example:
    // #MonTag
    OR
    /* #MonTag
  • Hashtags must not be preceded by any character (except the comment mark, a space or a tab).
  • Hashtags must start with a letter and can only contain alphanumeric characters or the '_' character. Spaces cannot not be used in the name of the hashtag.
  • Hashtags are not case-sensitive.
  • New in version 2024
    Additional contextual information can be added using the following syntax:
    &<nom propriété>=<valeur>
    where is a string enclosed in quotation marks. Example:
    // #TODO A Optimiser &dev="FP"
    It is also possible to add a clickable link to the hashtag information.. Example:
    // #TODO Utiliser une variable xmlDocument &dev="MARC" &doc="https://doc.pcsoft.fr/?TYPE_xmlDocument"
    This link will be clickable in the "Code hashtags" pane.
Remarks:
  • Code hashtags can be created in internal windows, internal pages, field templates, page or window templates, internal components, etc.
  • You can create hashtags in WLanguage browser code.

Content of the "Code hashtags" pane

The "Code hashtags" pane lists all the hashtags present in the WLanguage events of the project. By default, the name of the hashtag is displayed followed by the name of the element that contains the hashtag.
Double-clicking a hashtag takes you to the WLanguage code associated with it.
The different buttons in the "Code hashtags" pane allow you to:
  • navigate between hashtags (next, previous)
  • navigate between elements of a group (when multiple hashtags are associated with the same element).
  • change the display mode: you can choose one of these display modes:
    • Hashtags grouped by name (e.g., all "#todo" hashtags in all the elements of the project).
    • Hashtags grouped by element (e.g., all hashtags in the WIN_Menu window).
  • search the different hashtags.
  • New in version 2024
    create a custom filter on a hashtag property value.
Opening the "Code hashtags" pane
To open the "Code hashtags" pane, go to the "Home" tab, "Environment" group, expand "Panes", select "Panes", and then select "Code hashtags".
For more details on how to manage panes, see Handling the dockable shutters.
See also
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 04/10/2024

Send a report | Local help