The SAP Business Application Studio extension framework allows you to add new project and module templates to ease project creation. You can enrich the IDE with tools that will help you develop faster and more efficiently, such as code assist, static code analysis, and code formatting. Likewise, you can integrate your IDE with external services and systems.
The extension framework allows you to extend SAP Business Application Studio in 2 different ways:
-
Extend a specific dev space with VS Code extensions and Yeoman generators.
-
VS Code extensions: See .
-
Yeoman generators: See .
-
-
Create your own SAP Business Application Studio extension.
Thus, you can install use the BAS feature Explore and Install Generators to access third-party sites to view and download open-source, 3rd party, or its own tools, libraries, or software components (“Extensions”) to dev spaces in BAS.
Use Explore and Install Generators UI to Install Yeoman Generators
Install with command Explore and Install Generators:
Use the installed generator with the command Open Template Wizard or Yeoman CLI:
For more details:
Manually Install Yeoman Generators
You can also install the generators through Yeoman CLI directly.
If your default npm registry doesn’t include the API, first set the npm registry to the https://registry.npmjs.org/
:
npm config set registry https://registry.npmjs.org/
Open a terminal:
Execute the following command and choose Install a generator
and further, select the generator you want:
yo
For example, randomly choose a generator called generator-js
:
Now you can see the installed generator with the command Open Template Wizard:
Or, see and use the installed generator with Yeoman CLI: