Problems
User manual for Servoy Developer Problems View
The Problems View in Servoy Developer
Overview
The Problems View in Servoy Developer is an essential tool for identifying and resolving issues within your solution. It provides a comprehensive list of errors, warnings, and other types of problems detected in your project. This view helps developers quickly pinpoint and address issues to maintain code quality and functionality. This views is displayed underneath the editor area.
The Problems View dynamically updates to show current issues in the workspace. It categorizes problems into errors, warnings, and informational messages, and provides detailed information about each issue, including its description, resource, path, location, and type.
This view has the following sections:
Errors and Warnings List
Displays a list of errors, warnings, and informational messages detected in the project. Details Provided:
Description
A brief message describing the problem.
Resource
The file or resource where the problem is located.
Path
The file path within the project.
Location
The specific location within the file (e.g., line number).
Type
The type of problem (e.g., JavaScript Problem, Form Problem).
Filters Button
Opens the Filters dialog, allowing you to customize which problems are displayed in the Problems View. This is useful for focusing on specific types of issues or limiting the view to certain areas of the project.
Filters dialog
The Filters Dialog in the Problems View of Servoy Developer allows you to customize which problems are displayed. This is useful for focusing on specific types of issues or limiting the view to certain areas of the project. Sections:
Show all items checkbox
When checked, all items will be displayed, bypassing any filters.
Configurations
Manages different filter configurations to quickly switch between various filtering settings:
Errors/Warnings on Project: Displays all errors and warnings for the selected project.
Errors/Warnings on Selection: Displays errors and warnings for the selected elements.
Warnings on Selection: Displays only warnings for the selected elements.
All Errors on Workspace: Displays all errors in the workspace.
Servoy Active Solution Filter: A custom filter specific to the active solution in Servoy.
Buttons:
New: Create a new filter configuration.
Remove: Remove the selected filter configuration.
Rename: Rename the selected filter configuration.
Scope
Defines the scope of elements that the filters will apply to:
No filter, show all elements: Displays all problems without applying any filters.
On elements in selected projects: Displays problems for elements in selected projects.
On selected elements only: Displays problems for the currently selected elements.
On selected elements and their children: Displays problems for the selected elements and their child elements.
On working set: Displays problems for a specific working set.
Select button: Opens the Select Working Set dialog.
Components of the Select Working Set Dialog:
Select a working set: Allows you to choose the scope of the working sets that you want to apply as a filter.
options:
Window Working Sets: Applies the working sets defined for the current window or workspace. Select this option to filter problems based on working sets specific to the current window.
No Working Sets: Disables the working set filter. Select this option if you do not want to apply any working set filters.
Selected Working Sets: Allows you to choose from a list of predefined working sets. Select this option to filter problems based on one or more specific working sets from the list.
List of Working Sets:
Java Main Sources: A predefined working set that includes the main source files for Java projects.
Java Test Sources: A predefined working set that includes the test source files for Java projects.
Servoy Active Solution: A custom working set specific to the active solution in Servoy.
Buttons:
New: Opens the New Working Set dialog to create a new working set. Click this button to define a new working set by specifying its type and selecting its resources.
Edit: Opens a dialog to edit the selected working set. Click this button to modify an existing working set. Note that this button is enabled only when a working set is selected.
Remove: Removes the selected working set from the list. Click this button to delete a working set. Note that this button is enabled only when a working set is selected.
Select All: Selects all the working sets in the list. Click this button to apply all listed working sets as filters.
Deselect All: Deselects all the working sets in the list. Click this button to remove all working set filters.
OK: Applies the selected working set(s) as a filter and closes the dialog. Click this button to confirm your selection and filter the problems accordingly.
Cancel: Cancels the operation and closes the dialog without applying any changes. Click this button to discard any changes and exit the dialog.
Description
Filter problems based on their description text and severity.
Text: Allows filtering problems based on specific text contained in their description.
Options:
contains: Filter problems containing the specified text.
doesn't contain: Filter problems not containing the specified text.
Where severity is: Filters problems based on their severity. Options:
Error
Warning
Info
Types
Filter problems based on their type. You can select or deselect specific types to display.
Options: Lists various problem types that can be selected or deselected.
Buttons:
Select All: Selects all problem types.
Deselect All: Deselects all problem types.
Use limits checkbox
Limits the number of items displayed per group.
Items per group: Specifies the maximum number of items to display in each group.
Buttons
Restore Defaults: Restores the filter settings to their default values.
Apply and Close: Applies the current filter settings and close the dialog.
Cancel: Cancels the changes and closes the dialog.
View Menu
Opens a menu with additional options for customizing the Problems View.
Show
Allows selecting which problems to display based on predefined filters:
Errors/Warnings on Project
Errors/Warnings on Selection
Warnings on Selection
All Errors on Workspace
Servoy Active Solution Filter
Show All
Group By
Allows grouping problems by different criteria:
Java Problem Type
JavaScript Problem Type
Severity
Type
None
Sort By
Allows sorting problems by various attributes:
Description
Resource
Path
Location
Type
Ascending/Descending
New Problems View
Opens a dialog to name a new instance of the Problems View.
Filters
Opens the Filters dialog.
Configure Columns
Opens the Configure Columns dialog. Components of the Select Working Set Dialog:
Hidden
Displays a list of columns that are currently hidden in the Problems view.
Shown
Displays a list of columns that are currently visible in the Problems view.
Show -> button
Moves the selected column from the Hidden list to the Shown list, making it visible in the Problems view. Select a column in the Hidden list and click this button to show it in the Problems view.
<- Hide button
Moves the selected column from the Shown list to the Hidden list, hiding it from the Problems view. Select a column in the Shown list and click this button to hide it from the Problems view.
Up button
Moves the selected column up in the order of the Shown list. Select a column in the Shown list and click this button to move it up, changing its position in the Problems view. This button is enabled only when a column is selected.
Down button
Moves the selected column down in the order of the Shown list. Select a column in the Shown list and click this button to move it down, changing its position in the Problems view. This button is enabled only when a column is selected.
Width of the selected shown column
Displays and allows you to adjust the width of the currently selected column in the Shown list. Enter a value to set the width of the selected column in pixels.
Restore Defaults button
Resets all columns to their default visibility and order settings. Click this button to revert the column configurations to their original state.
OK button
Applies the current column settings and closes the dialog. Click this button to save your changes and update the Problems view with the new column configuration.
Cancel button
Closes the dialog without applying any changes. Click this button to exit the dialog and discard any changes made to the column settings.
Last updated