Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Misty JavaScriptNew to Visual Studio Code? Get it now.
Misty JavaScript

Misty JavaScript

Misty Robotics

|
2,718 installs
| (2) | Free
Extension to aid in developing JavaScript skills for the Misty robotics platform.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Misty JavaScript for Visual Studio Code

The Misty JavaScript extension offers auto-complete, tabbed parameter entry, and information about each method in Misty's on-robot JavaScript API. It also provides basic commands for uploading, running, and stopping skills on Misty from within the Visual Studio Code editor.

With the extension enabled, start typing misty in a JavaScript code file to see autocomplete and command information.

Using Commands

When the Misty JavaScript extension is enabled, you can run commands directly from your VSC window to upload a skill, upload and run a skill, or to stop the skills that Misty is currently running. This makes it possible to edit and update your skill code on Misty without leaving your text editor.

The list of currently available commands is:

  • Upload
  • Upload and Run
  • Stop Skills

To view and use these commands:

  1. Make sure Misty is powered on and connected to the same local Wi-Fi network as your computer.
  2. Open the JavaScript and/or JSON files for a skill in Visual Studio Code.
  3. Press Command+Shift+P (Mac) or Control+Shift+P (Windows).
  4. Type Misty: to see the list of commands, and select the command you want to use.

Uploading a Skill

  1. Follow the steps above to view the list of commands.
  2. Select Misty: Upload and Run.
  3. Enter Misty's IP address. (You can find Misty's IP address in Misty's companion app).
  4. Watch for the notification that the upload is complete.

Uploading and Running a Skill

  1. Follow the steps above to view the list of commands.
  2. Select Misty: Upload.
  3. Enter Misty's IP address. (You can find the IP address in Misty's companion app).
  4. Watch for the notification that the upload is complete and wait for your skill to run.

Note: When you run the Upload or Upload and Run command, the Misty JavaScript extension compresses the entire directory for the currently active file into a .zip file and attempts to upload this .zip file to Misty using the SaveSkillToRobot endpoint. Loading a skill onto Misty this way also uploads any image and audio files from the compressed directory to Misty and associates them with the skill.

An upload will fail if the directory you attempt to upload does not contain the JSON meta file for the skill. If there is a problem with an upload, the extension displays an error notification in your Visual Studio Code window. Click this notification to see more details about the error.

For more information about loading skills onto Misty, see Loading & Running an On-Robot Skill.

Stopping Skills

  1. Follow the steps above to view the list of commands.
  2. Select Misty: Stop Skills.
  3. Enter Misty's IP address. (You can find the IP address in Misty's companion app.)
  4. Watch for the notification that the command was successful and wait for Misty to stop skill execution.

Tip: When you use the Misty: Stop Skills command, the Misty JavaScript extension stops skill execution by sending a POST request to the REST endpoint for Misty's CancelSkill command.

Requirements

Visual Studio Code v1.33.0 or later

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft