Skip to main content

Command line interface for RobotCode

Project description

RobotCode - The Ultimate Robot Framework Toolset

License Build Status VS Code Marketplace Installs JetBrains Marketplace Downloads PyPI - Version Python Version Downloads


What is RobotCode?

RobotCode is a complete Robot Framework toolkit: a language server, IDE extensions for VS Code and the JetBrains platform, a powerful command-line interface, and a unified robot.toml-based configuration model. It is designed for everyday Robot Framework work — from your first keyword to scaling multi-team test suites in CI.

Built on Robot Framework Core, RobotCode is developed in close collaboration with the Robot Framework Core team and supported by the Robot Framework Foundation.

Key Features

Editor / IDE

  • Code intelligence — completion for keywords, variables, libraries, and resources; hover documentation; go-to-definition; find references; signature help.
  • Keywords explorer — browse, navigate, and insert keywords from imported libraries and resources via a dedicated sidebar view.
  • Refactoring — project-wide rename of keywords, variables, and arguments.
  • Live diagnostics — errors and warnings as you type, out of the box. Optional Robocop integration adds further linting and formatting checks on top.
  • Debugging — Robot Framework debugging via the Debug Adapter Protocol, with breakpoints in keywords and step-through control.
  • Syntax highlighting — full Robot Framework grammar including embedded arguments, Python expressions, and environment variables with defaults.
  • Snippets — quick insertion of common Robot Framework patterns.
  • Test view — discover, run, debug, and inspect Robot Framework tests in the editor's test panel.
  • Interactive REPL & .robotbook notebooks — try keywords live in a REPL or work in a Jupyter Notebook-style notebook format.
  • Multi-root workspaces — manage multiple projects with different Python environments side by side.

Configuration

One configuration model that follows your project from the editor into CI — no scattered command-line flags, no duplicated setups.

  • A single source of truth — paths, variables, Python paths, listeners, modifiers, and every Robot Framework option live in robot.toml (or pyproject.toml). Editor, CLI, and CI all read the same setup; personal tweaks stay out of git via .robot.toml.
  • Profiles for every scenario — keep dev, staging, CI, OS-specific, or browser-specific settings as named overlays. Activate with a single flag, layer them, inherit between them.
  • Total transparency — see exactly what Robot Framework will receive after all files, profile overlays, and CLI flags are merged.
  • Schema-guided editing — autocomplete and validation while you write your config catches typos and unsupported keys before you run.

Command line

A complete command-line toolkit that knows your project as well as the editor does — same robot.toml, same profiles, same Python environment — so what runs in the IDE runs the same way on the CLI and in CI.

  • Run with everything wired up — execute Robot Framework with your profiles, paths, variables, listeners, and modifiers automatically applied.
  • Find tests by anything — search and filter suites, tasks, tags, sources, documentation, or even keyword calls inside test bodies, and narrow the run accordingly.
  • Drill into failures fast — explore logs, stats, and diffs across runs, and compare today's run against yesterday's in a single command — without ever parsing output.xml by hand.
  • CI gates with editor-quality diagnostics — project-wide static analysis that matches what you see while typing; reclassify, mask, or ignore categories per project.
  • Docs that actually find your project — library and keyword documentation that resolves your project's resources, custom libraries, and Python paths the way Robot itself does.
  • Live experimentation — try keywords interactively inside your project's environment before they land in a test.
  • Built for automation — every command can speak JSON, so CI pipelines, dashboards, AI agents, and other tools consume the output without screen-scraping.

For the complete feature reference, see the official documentation.

Requirements

Runtime (always required):

  • Python 3.10 or newer
  • Robot Framework 5.0 or newer

Editor / IDE — any LSP-capable editor works. For the dedicated extensions you need one of:

  • Visual Studio Code 1.108.0 or newer
  • PyCharm / IntelliJ IDEA 2025.3 or newer

Other editors (Neovim, Sublime Text, Helix, Emacs, …) connect to the language server via the languageserver extra from PyPI — see Command Line and Other Editors below.

Getting Started

Visual Studio Code

  1. Install the RobotCode Extension from the Visual Studio Marketplace.
  2. Continue with the Getting Started Guide for setup, your first robot.toml, and running your first test.

Extensions: RobotCode declares dependencies on the Python and Python Debugger extensions so VS Code installs them when required. Additional extensions may be needed depending on your project.

IntelliJ IDEA or PyCharm

  1. Install the RobotCode Plugin — choose one of:

    • Built-in Plugin Marketplace: Settings/Preferences > Plugins > Marketplace > search for "RobotCode" > Install.
    • JetBrains Marketplace: click Install to ... if your IDE is running.
    • Manual: download the latest release and use Settings/Preferences > Plugins > ⚙️ > Install plugin from disk....
  2. Continue with the Getting Started Guide for setup, your first robot.toml, and running your first test.

Plugins: RobotCode declares a dependency on LSP4IJ so your IDE installs it automatically. Additional plugins may be required depending on your project needs.

Command Line and Other Editors

For CI pipelines, the command line, or LSP-compatible editors like Neovim, Sublime Text, or Helix, install RobotCode from PyPI. The base robotcode package is only the CLI core; the actual commands live in extras such as runner, analyze, debugger, languageserver, and repl:

pip install robotcode[runner,analyze]

Pick the extras that match your use case — see the CLI reference for the available packages and how to install them.

Documentation

For detailed instructions, visit our official documentation. Additional resources:

Sponsor RobotCode

RobotCode is driven by the passion of its lead developer and a growing community. Financial support keeps the project sustainable and lets us continue adding features, improving stability, and expanding the ecosystem.

Individual:

Corporate:

Get Involved

You don't need to sponsor to help. Every contribution — feedback, code, advocacy — moves the project forward.

License

This project is licensed under the Apache 2.0 License.


Powered by

Robot Framework Foundation

JetBrains

Project details


Release history Release notifications | RSS feed

This version

2.6.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotcode-2.6.0.tar.gz (127.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotcode-2.6.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file robotcode-2.6.0.tar.gz.

File metadata

  • Download URL: robotcode-2.6.0.tar.gz
  • Upload date:
  • Size: 127.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1015-azure"}} HTTPX2/2.3.0

File hashes

Hashes for robotcode-2.6.0.tar.gz
Algorithm Hash digest
SHA256 52106b853896e373540b280d715da8a5a93d72340f02442544bf322e06ee7ead
MD5 225d4e11511eeb63fa8d720594d590e1
BLAKE2b-256 80df109d4d35f1242c926c2a0b1a516593381abf30e208db66e2361475159f81

See more details on using hashes here.

File details

Details for the file robotcode-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: robotcode-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.3"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.3","system":{"name":"Linux","release":"6.17.0-1015-azure"}} HTTPX2/2.3.0

File hashes

Hashes for robotcode-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cbbf7275d8c553534a42669217085beac1b17510e5aa301922255e879a8bfa8
MD5 4c64a2d86a2c964a0f27605591160fe5
BLAKE2b-256 1b7e229891e66d49f7ba8c0e15e78be8d32b4b21068bbe3ae9654d5add9f3dfa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page