Solution Explorer Contextual List
Reference documentation for the Solution Explorer Contextual List object
Overview
The Solution Explorer Contextual List in Servoy is a section at the bottom of the Solution Explorer window that displays details of items selected in the tree view. It is primarily used to view lists of code resources like methods, functions, variables, and relations, as well as media. Users can interact with the items in the contextual list to access additional information and move code into an open script editor.
Commands Summary
A summary of the most common commands available via right-click context menu:
Searches all places where the item detail is used
Creates a new method
Runs the method in started client
Deletes method
Creates a new variable
Edits variable type and default value
Deletes variable
Commands Details
The details for each command available on item details via right-click context menu:
Move code
Any scripting API (including methods written by a developer) can be inserted directly into the Script Editor. The code will be copied into the Script Editor and will be referenced with the correct namespace for the current scope. It may be needed to fill in specific arguments.
Move sample
Any scripting API's commented sample code can be inserted directly into the Script Editor. A verbose, commented sample will be copied into the Script Editor.
Open in Script Editor
Opens the item in Script Editor.
Search for References
Searches all places where the item is used. The results will appear in Search view normally found at the bottom of the workbench.
Create method
Creates a new method in same scope / form's scripting file. The user is asked for a name of the new method, then it switches to Script Editor, with the particular method highlighted.
Debug Method
Takes the user to the Debug perspective, with the particular method being debugged highlighted. This procedure is only available once a Servoy client has been started.
Delete method
Deletes the selected method from the scope / form's scripting file, after prompting a confirmation window.
Overrride method
Opens the method in Script Editor.
Create variable
Opens the create new variable editor, then it switches to Script Editor of the same scope / form's scripting file, with the particular variable highlighted.
Edit variable
Opens the variable editor in order to edit variable name, type and default value.
Delete variable
Deletes the selected variable from the scope / form's scripting file, after prompting a confirmation window.
Last updated