This terminal depends on the MOMaPS. Please install it from vscode extension market first. Then, you can run the extension by doing the following:
# Clone the repo
git clone https://github.com/Yukun-Guo/MOMaPS-Terminal.git
# Navigate into sample directory
cd MOMaPS-Terminal
# Install dependencies for both the extension and webview UI source code
npm install
# Open sample in VS Code
code .
packaging
npm install -g @vscode/vsce
vsce package
Note
The extension name is defined in package.json. The name is used to identify the extension in the VSCode marketplace. The name should be unique and should not contain any spaces.
The keywords field in package.json must include the keyword MOMaPSExtension for the extension to be listed in the MOMaPS extension marketplace.
Once the sample is open inside VS Code you can run the extension by doing the following:
Press F5 to open a new Extension Development Host window
Inside the host window, open the command palette (Ctrl+Shift+P or Cmd+Shift+P on Mac) and type MOMaPS Extension: Show