Properties Editor

Overview

The File Properties Wizard in Servoy Developer allows users to view and modify properties of a selected file. This wizard consists of three tabs: Resource, Git, and Run/Debug Settings. Each tab provides specific functionalities and options to manage the file properties effectively.

File Properties Wizard has the following sections:

Tabs

Each tab has the following buttons:

  • Back: Navigates to the previous tab.

  • Forward: Navigates to the next tab.

  • Three Dots : shows the following options:

    • Resize Tree: Adjusts the tree view size.

    • Key Scrolling: Enables key scrolling for the tree view.

Resource

The Resource tab provides detailed information about the selected file, such as its path, type, location, size, and modification date. It also allows users to set file attributes and text file encoding. Here are the sections of this tab:

File Information

  • Path: Displays the file path.

  • Type: Shows the type of the file (e.g., JavaScript source file).

  • Location: Indicates the file's location on the system. It also has some options:

    • Show in System Explorer

    • Copy full path

  • Size: Shows the file size in bytes.

  • Last Modified: Displays the date and time when the file was last modified.

Attributes

  • Read-only: Checkbox to set the file as read-only.

  • Archive: Checkbox to mark the file for archiving.

  • Derived : Checkbox to mark the file as derived.

Text File Encoding:

  • Default: Uses the default encoding inherited from the container (e.g., UTF-8).

  • Other: Allows users to select a different encoding from a dropdown list:

    • ISO-8859-1

    • US-ASCII

    • UTF-16

    • UTF-16BE

    • UTF-16LE

    • UTF-8

Buttons

Here are the available buttons:

  • Restore Defaults: Resets all fields to their default values

  • Apply: Applies changes without closing the dialog.

Git

The Git tab provides information about the Git repository associated with the file. It shows details such as the Git directory, working tree, branch, and current state. Here are the sections of this tab:

Git Information

  • Git Directory: Displays the path to the Git directory.

  • Working Tree: Shows the working tree path.

  • Branch: Indicates the current branch.

  • Current State: Displays the state of the file in the repository (e.g., Normal).

  • HEAD: Shows the commit hash of the HEAD.

Run/Debug Settings

The Run/Debug Settings tab allows users to manage launch configurations associated with the selected file. Users can create, edit, duplicate, and delete configurations from this tab. Here are the sections of this tab:

Launch Configurations

Lists available run/debug configurations for the selected file. Each configuration specifies how the file should be executed or debugged.

Launch Configurations Buttons

  • New: Opens a dialog to create a new launch configuration.

  • Duplicate: Creates a copy of the selected launch configuration.

  • Edit: Opens the selected launch configuration for editing.

  • Delete: Removes the selected launch configuration.

Buttons

Here are the available buttons:

  • Restore Defaults: Resets all settings to their default values

  • Apply: Applies changes without closing the dialog.

Additional Features

Filter text box

Allows filtering the content within each tab by typing text.

Info icon (?)

Provides additional help or information about the properties wizard.

Buttons

Here are the available buttons:

Apply and Close

Applies the changes and closes the dialog.

Cancel

Closes the dialog without applying changes.

Last updated