Skip to content

Installing the Extension

Install the Mobile Development Kit extension for Visual Studio Code to load Visual Studio Code with the Mobile Development Kit metadata, and to start developing or modifying your apps quickly and efficiently.

Prerequisites

To develop or modify an app, you must have the following:

  • Mac or Windows environment
  • Visual Studio Code version higher than 1.24.0

To debug an app, you must have the following:

  • Xcode, which finds the corresponding iOS simulator
  • Android Studio, which finds the corresponding Android emulator
  • NativeScript CLI, installed using the npm install -g nativescript command This is required to trigger the tns command to launch an app.
  • The NativeScript project for the branded client, which hosts the app and supports the tns launch

Procedure

  1. Install the Mobile Development Kit extension directly from the Microsoft Visual Studio Code marketplace. You can also download and install the latest version of vsix package folder (vsc-extension-mdk) from the SAP Marketplace. This folder contains all the files necessary for your extension.

  2. Launch Visual Studio Code.

  3. If you have downloaded the package from the SAP Marketplace, select Extensions > Install from VSIX. The installation might take as long as to two minutes.

  4. Reload Visual Studio Code to enable the extension. A new language mode called MDK is attached to any open Mobile Development Kit metadata file.


Last update: August 12, 2020