AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Editores / Editor de código
  • Overview
  • How to?
  • Code editor theme settings window
  • Modifying the current theme
  • Modifying one of the default themes
  • Deleting a theme
  • Importing a theme
  • Special case: Coloring out of configuration
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Overview
WINDEV, WEBDEV and WINDEV Mobile feature a light and a dark theme. These themes are also available in the code editor. You can create and configure your own theme or import an existing theme.
New in SaaS
Note: Copying WLanguage code from the editor to a third-party tool:
  • Now, copied/pasted code always uses light theme colors. This means that code copied in dark theme won't be pasted with a dark background.
  • Copied/pasted code now supports plain text and HTML. If you paste code in an application that supports HTML (e.g. Thunderbird or Outlook), it will be pasted directly using HTML formatting. Syntax highlighting uses the colors from the light theme.
Please note These features are only available in WINDEV Suite SaaS 2025 Update 1. For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
How to?

Code editor theme settings window

To open the code editor theme settings window:
  1. Display the code editor editing options: under the "Inicio" pane, in the "Entorno" group, pull down "Opciones" and select "Code editor options".
  2. In the "Styles" tab, the various themes of the code editor are listed:
    Choosing the code theme
    • Clair (Version 21 and earlier): code editor theme for version 21.
    • Clear: clear code editor theme (on white background).
    • Dark: dark theme for the code editor (on a black background).
    • Grayed: grayed theme of the code editor (on a gray background).
From this window, you can:
  • use one of the default themes.
  • modify one of the default themes.
    Note: The default themes cannot be modified directly. They must be duplicated in order to be modified.
  • delete one of the default themes,
  • import a theme.

Modifying the current theme

To use a theme in the code editor:
  1. Open the theme settings window.
  2. Double-click on the theme name in the theme configuration window: the label "(Active)" is displayed on the theme line.

Modifying one of the default themes

To modify one of the default themes:
  1. Open the theme settings window.
  2. Select the desired theme and click "Duplicate".
  3. Name the new theme and confirm.
    Name of duplicated theme
  4. The new theme appears in the list of available themes. To modify its characteristics, select the theme and click "Modify".
  5. The theme configuration window is displayed. The list of all configurable elements is displayed.
    Configuring the theme elements
    For each element, you have the ability to configure (according to the type of element):
    • The background color.
    • The font color.
    • The font.
    • The font size.
    • The characteristics of the font (bold, italic, underlined, strikeout).
  6. To exit from the modification mode, click Exit from modifications. The editor proposes to save or cancel the modifications.
The colors selected for some theme elements (numbers, strings, etc.) can be used to customize variables with the <color> attribute. For more details, see Declaring and using a variable.

Deleting a theme

To delete a theme:
  1. Open the theme settings window.
  2. Select a non-active theme.
  3. Click the "Delete" button and confirm.
Please note: The default themes cannot be deleted.

Importing a theme

To import a theme:
  1. Open the theme settings window.
  2. Click the "Import" button.
  3. Select the ".sco" file corresponding to the theme to import and validate.
Note: To export a theme:
  1. Open the theme edit window.
  2. Click the Import/Export button and select "Export a theme".
  3. Specify the name of the ".sco" file corresponding to the theme and validate.

Special case: Coloring out of configuration

When an element that is not in the configuration is opened in the editor, the code is colored, but a specific background color is used (gray by default, on light theme).
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 16/02/2025

Señalar un error o enviar una sugerencia | Ayuda local