Skip to content

About

Visual Studio Marketplace Installs Build Status License PyPI - Version PyPI - Python Version PyPI - Downloads


An extension which brings support for RobotFramework to Visual Studio Code, including features like code completion, debugging, test explorer, refactoring and more!

Features

With RobotCode you can edit your code with auto-completion, code navigation, syntax checking and many more. Here is a list of Features:

Autocomplete and IntelliSense

Autocompletion for: - Libraries with parameters - Resources, - Variables - Keywords with parameters - Namespaces

Autocomplete Libraries and Keywords

Autocompletion supports all supported variables types - local variables - variables from resource files - variables from variables file (.py and .yaml) - static and dynamic - command line variables - builtin variables

Autocomplete Variables

Code Navigation

  • Symbols
  • Goto definitions and implementations
  • Keywords
  • Variables
  • Libraries
  • Resources
  • Find references
  • Keywords
  • Variables
  • Imports
    • Libraries
    • Resources
    • Variables
  • Tags
  • Errors and Warnings

Diagnostics and Linting

RobotCode analyse your code and show diagnostics for:

  • Syntax Errors
  • Unknown keywords
  • Duplicate keywords
  • Missing libraries, resource and variable imports
  • Duplicate libraries, resource and variable imports
  • ... and many more

For most things RobotCode uses the installed RobotFramework version to parse and analyse the code, so you get the same errors as when you run it.

Get additional code analysis with Robocop. Just install it in your python environment.

Code Formatting

RobotCode can format your code with the internal RobotFramework robot.tidy tool (deprecated), but also with Robotidy. Just install it.

Running and Debugging

RobotCode supports running and debugging of RobotFramework testcases and tasks out of the box, directly from the definition of the test or suite.

Running Tests

In the debug console you can see all log messages of the current run and navigate to the keyword the message was written by.

Multi-root Workspace folders

RobotCodes support for Multi-root Workspaces, enables loading and editing different Robotframework projects/folders with different RobotFramework/Python environments and settings at the same time or you can share the same RobotFramework/Python environment and settings for all folders in the workspace.