Misty JavaScript for Visual Studio CodeThe 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 Using CommandsWhen 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:
To view and use these commands:
Uploading a Skill
Uploading and Running a Skill
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 For more information about loading skills onto Misty, see Loading & Running an On-Robot Skill. Stopping Skills
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. RequirementsVisual Studio Code v1.33.0 or later |