Modifying the right-click context menu
In the development workspace, many developer tools can be accessed from the right-click context menu in the AOT. Some of the tools, such as Export, Delete, Restore, and others, are common for all AOT objects. Some of the options are only available for specific objects, for example, the Compile function is only available for classes, tables, and other objects that contain code.
In this recipe, we will demonstrate how to modify the right-click context menu. We will add two new options for development project nodes, allowing setting and clearing any selected project as a startup project.
How to do it...
Carry out the following steps in order to complete this recipe:
1. In the AOT, create a new action menu item with the following properties:
Property
Value
Name
DevProjectStartupUpdateSet
Label
Set as startup project
2. Create one more action menu item with the following properties:
Property
Value
Name
DevProjectStartupUpdateClear