Install the Visual Studio Code Extension

This guide describes how to install the Visual Studio Code extension for GoPay Container SDK.

  1. Install the GoPay Mini App Plugin in VS Code

    • Download Gopay VS Code Extension from here
    • Open VS Code.
    • Click the Extensions icon in the sidebar and click (...) symbol.
    • Install from ViX using the downloaded build.
    • Search for “gopay”.
    • Find the installed plugin named Gopay Miniapp Develop Tool by searching in the extension search bar.
    • If your VS Code supports auto-updates, enable Auto Update after installing
  2. Open plugin settings

    • Once installed, click the plugin’s sidebar icon (it appears under the VS Code icon bar).
    • In the Gopay Miniapp Develop Tool panel, select Extension Settings
  3. Configure required settings
    Fill in these parameters in the settings:

ParameterDescription
Build PathThe directory where the build artifact is stored. Default value: dist.
EnvThe development environment.
Need Auth From AppIf enabled, invoking client capabilities within the mini-program will prompt for authorization; otherwise, no authorization prompt will be shown.
PasswordThe account password used to log on to Application Open Platform.
UsernameThe account username used to log on to Application Open Platform.
Adb LinuxThe storage path of Android adb commands in the macOS system. Default value: ~/Library/Android/sdk/platform-tools.
Adb MacThe storage path of Android adb commands in the macOS system. Default value: ~/Library/Android/sdk/platform-tools.
Adb WindowsThe storage path of Android adb commands in the Windows system. Example: D:\sdk\platform-tools. If your computer runs Windows, you must specify this parameter. If you do not specify this parameter, the Android emulator cannot start as expected.
Emulator LinuxThe storage path of Android emulator commands in the Linux system. Default value: ~/Library/Android/sdk/emulator.
Emulator MacThe storage path of Android emulator commands in the macOS system. Default value: ~/Library/Android/sdk/emulator.
Emulator WindowsThe storage path of Android emulator commands in the Windows system. Example: D:\sdk\emulator. If your computer runs Windows, you must specify this parameter. If you do not specify this parameter, the Android emulator cannot start as expected.
Sdk Manager LinuxThe storage path of Android sdkmanager commands in the Linux system. Default value: ~/Library/Android/sdk/tools/bin.
Sdk Manager MacThe storage path of Android sdkmanager commands in the macOS system. Default value: ~/Library/Android/sdk/tools/bin.
Sdk Manager WindowsThe storage path of Android sdkmanager commands in the Windows system. Example: D:\sdk\tools\bin. If your computer runs Windows, you must specify this parameter. If you do not specify this parameter, the Android emulator cannot start as expected.
Avd Manager LinuxThe storage path of Android avdmanager commands in the Linux system. Default value: ~/Library/Android/sdk/tools/bin.
Avd Manager MacThe storage path of Android avdmanager commands in the macOS system. Default value: ~/Library/Android/sdk/tools/bin.
Avd Manager WindowsThe storage path of Android sdkmanager commands in the Windows system. Example: D:\sdk\tools\bin. If your computer runs Windows, you must specify this parameter. If you do not specify this parameter, an Android emulator cannot be created.
NpmThe storage path of npm commands.
Start CommandThe command for starting the miniapp. Default value: npm start.