Robocorp VS Code extension
The Robocorp extension makes it easy to create Python or Robot Framework based automation projects and software robots.
You can use this extension as part of the Robocorp Automation Stack, which has been optimized for tasks such as robotic process automation (RPA), web scraping and IT automation. It scales up from simple image fetching or API calling all the way to complex process automation workflows.
Main features include:
Automatic configuration of dependencies, including Python and Robot Framework. Every project uses its own lightweight virtual environment and runs in isolation.
Automatic configuration of language server for syntax highlighting and code completion in Robot Framework.
Create, run and debug projects.
Deploy projects to Robocorp Cloud.
Note: the use of cloud-based orchestration in Robocorp Cloud requires a free account.

Get Started
Install this extension together with the Robot Framework Language Server extension.
Download Robocorp VS Code extension - basic tutorial, and open it in VS Code.
Open the command palette - (Windows, Linux): ctrl-shift-P
(macOS): cmd-shift-P
select the command Robocorp: Run Robot
Select the task to run (only if the robot contains more than one task).
More examples are available at https://robocorp.com/robots/.
You can also find a video tutorial on the YouTube Robocorp channel.
Full instructions are available at https://robocorp.com/docs/product-manuals/robocorp-code.
Features

Create robots based on templates.
Run Robots in virtual environments.
Run Robots locally with VSCode run configuration.
Debug Robots
Deploy robots to Robocorp Cloud
We are actively developing the extension, contact us for issues and feature requests.
Requirements
Supported operating systems: Windows 10, Linux or Mac OS.
The Robot Framework Language Server extension provides extra Robot Framework related capabilities, including code completion and formatting, as well as syntax validation and highlighting. It is highly recommended to install it alongside this Robocorp Code extension.
Installation
Find the full installation instructions at https://robocorp.com/docs/product-manuals/robocorp-code.
Configuration
During the first activation, the extension will download additional dependencies (such as Conda manager) that are required for it to run.
Features (1.12.0)
- Preliminary support for Robo (Robocorp's Python Framework for automation).
- Ctrl+Click on terminal for the 'Robocorp html Log` opens external browser.
- Code Lenses to
Run Task
/ Debug Task
for tasks decorated with @task
.
ROBO TASKS OUTPUT
which shows the output of tasks run with @task
.
- Support for Work Items.
- Automatic bootstrapping of the Python environment for the
Robot Framework Language Server
.
- Create a Robot from a pre-configured template using the
Robocorp: Create Robot
action.
- Upload a Robot to the cloud with the
Robocorp: Upload Robot to the Robocorp Cloud
action.
- Link to the cloud with the
Robocorp: Link to Robocorp Cloud
action.
- Unlink from the cloud with the
Robocorp: Unlink and remove credentials from Robocorp Cloud
action.
- Verify Robot for inconsistencies with
Robocorp: Robot Configuration Diagnostics
action.
- Create a terminal with a Robot environment through the
Robocorp: Terminal with Robot environment
action.
- Run a Robot with the
Robocorp: Run Robot
action.
- Debug a Robot with the
Robocorp: Debug Robot
action. - It's possible to debug plain Python tasks using the Python extension or Robot Framework tasks using the Robot Framework Language Server (in which case the task must start with python -m robot
and finish with the folder/filename to be run).
- When a robot.yaml is found, it utilises the related Python environment when running/debugging
.robot
files using the RobotFramework Language Server.
- Set the pythonPath configuration to get code completion in the Python extension through the
Set pythonPath based on robot.yaml
action.
- View, launch and debug Robots from the
Robots
view.
- View and create new Browser Locators from the
Locators
view.
- View and create new Image Locators from the
Locators
view.
- When hovering over a
"screenshot"
, "path"
or "source"
element in the locators.json
, a preview is shown.
- Send issue reports with the
Robocorp: Submit issue
action.
Developing
See: Developing for details on how to develop the Robocorp Code
extension.
Reporting Issues
Issues may be reported at: https://github.com/robocorp/robotframework-lsp/issues/new/choose.
Forum: https://forum.robocorp.com/
Slack: robocorp-developers.slack.com