You will learn
- How to create a feature project (which will contain a plugin module)
- How to add sample code to the plugin
- How to test the plugin
In this tutorial, you will create your first plugin for SAP Web IDE. A plugin is a way to develop new functionality for the SAP Web IDE, and one or more plugins are delivered within a SAP Web IDE project called a feature.
After opening SAP Web IDE, choose File > New > Project from Template.
Alternatively, you can click the New Project from Template icon on the SAP Web IDE Welcome screen.
A wizard opens and on the Template Selection screen, choose SAP Web IDE Feature, and then click Next.
If you don’t see the feature template, make sure the Category selector is on Feature and Plugin Development or All categories.
On the Basic Information screen, enter
coolproject for the project name, and then choose Next.
On the Template Customization screen, enter the following information, select the Include sample implementation code checkbox and click Finish.
In the Workspace, right-click the
plugin.json file and choose Run > Run As Plugin. SAP Web IDE opens in a new browser tab called Debug Mode.
In the new browser tab, use the plugin by going to the Tools menu and selecting Sample > Hello World. A dialog opens with a message.