Download VS Code, install the essential SAP and general-purpose extensions, and configure key settings.
VS Code is the standard editor for SAPUI5, CAP Node.js, and CAP Java development.
Go to code.visualstudio.com and install the Stable build for your OS.
Open VS Code, press Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS), and install these:
| Extension | Publisher | Why |
|---|---|---|
| SAP Fiori Tools - Application Generator | SAP | Generate SAPUI5 apps in seconds |
| SAP Fiori Tools - Extension Pack | SAP | Adds page map, service modeler, guided dev |
| SAP CDS Language Support | SAP | Syntax highlighting and autocomplete for .cds files |
| SAP Fiori | SAP | Preview Fiori apps locally |
| Extension | Publisher | Why |
|---|---|---|
| ESLint | Microsoft | Catch JS/TS errors as you type |
| Prettier | Prettier | Auto-format on save |
| GitLens | GitKraken | Inline git blame and history |
| REST Client | Huachao Mao | Test your CAP OData endpoints from inside VS Code |
| XML | Red Hat | Format and validate manifest.xml, xs-app.json |
| Extension | Publisher | Why |
|---|---|---|
| Extension Pack for Java | Microsoft | Java language server, debugger, Maven support |
| Spring Boot Extension Pack | VMware | Spring Boot dashboard, live beans view |
Open settings with Ctrl+, and add to settings.json:
{
"editor.formatOnSave": true,
"editor.tabSize": 2,
"files.autoSave": "onFocusChange",
"editor.fontSize": 14,
"terminal.integrated.defaultProfile.windows": "PowerShell"
}
Ctrl+Shift+P → type Fiori: Open Application Generator