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 comprehensive toolkit for Robot Framework development, offering advanced features to enhance your productivity and streamline your workflow. Whether you're using Visual Studio Code, IntelliJ, or other LSP-compatible editors, RobotCode ensures a consistent and seamless experience.

Key Advantages:

  • Built on Robot Framework Core RobotCode uses Robot Framework's native parser for syntax validation, error messages, and behavior, ensuring full compatibility and reliability in your projects.

  • Powered by the Language Server Protocol (LSP) By leveraging the LSP, RobotCode provides real-time code navigation, intelligent auto-completion, and refactoring capabilities across various editors and IDEs.

  • Multi-Platform IDE Extensions RobotCode offers robust extensions for Visual Studio Code and IntelliJ Platform, delivering the same high-quality features regardless of your preferred development environment. Thanks to LSP, it also works with editors like Neovim and Sublime Text.

  • Enhanced CLI Tools Extend Robot Framework's command-line capabilities with tools for test execution, debugging, and code analysis. Features include robot.toml support, a Debug Adapter Protocol (DAP) debugger, and an interactive REPL for quick experimentation.

With RobotCode, you can focus on building and testing your automation workflows while enjoying an integrated and efficient development experience.

Key Features

  • Code Editing: Enjoy code auto-completion, navigation and more.
  • IntelliSense: Get code completion suggestions for keywords, variables, and more.
  • Refactoring: Rename variables, keywords, arguments and more with ease and project wide.
  • Enhanced Syntax Highlighting: Easily identify and read your Robot Framework code with support highlight embedded arguments, python expressions, environment variables with default values, and more.
  • Code Snippets: Quickly insert common Robot Framework code snippets.
  • Test Discovery: Discover and run Robot Framework test cases directly within VS Code.
  • Test Execution: Execute Robot Framework test cases and suites directly within VS Code.
  • Test Reports: View test reports directly within VS Code.
  • Debugging: Debug your Robot Framework tests with ease.
  • Command Line Tools: A wide array of tools to assist in setting up and managing Robot Framework environments.
  • Code Analysis with Robocop: Install Robocop for additional code analysis.
  • Code Formatting: Format your code using Robot Framework’s built-in tools like robot.tidy or Robotidy.
  • Multi-root Workspace Support: Manage multiple Robot Framework projects with different Python environments simultaneously.
  • Customizable Settings: Configure the extension to fit your needs.
  • RobotCode Repl and Notebooks: Play with Robot Framework in a Jupyter Notebook-like environment.
  • And More!: Check out the official documentation for more details.

Requirements

Python and Robot Framework Versions

  • Python 3.10 or newer
  • Robot Framework 5.0 or newer

IDE Support

  • Visual Studio Code 1.99 or newer
  • PyCharm 2025.1 or newer or IntelliJ IDEA 2025.1 or newer

Deprecated Python and Robot Framework Versions

⚠️ DEPRECATION WARNING: Support for Python 3.8, 3.9, and Robot Framework 4.1 is deprecated and will be removed in a future release. To ensure compatibility and benefit from ongoing improvements, please upgrade to Python 3.10 or later and Robot Framework 5.0 or later.

Python Version Requirements: Although Robot Framework still supports Python 3.8 and 3.9, RobotCode requires Python 3.10 or newer due to its use of more modern libraries and features. Many key tools in the ecosystem—such as robocop and the Browser library—have already dropped support for Python 3.8, which is no longer maintained. Python 3.9 will reach end-of-life on October 5, 2025.

Robot Framework Version Requirements: Robot Framework 4.1 is outdated. Given the regular release cadence of Robot Framework—typically two major versions per year—maintaining support for older versions introduces significant overhead. That effort is better spent on supporting current and upcoming features.

Compatibility and Limitations: RobotCode currently remains compatible with Python 3.8+ and Robot Framework 4.1+, but with important limitations: • New features may not be available for older versions. • Development and testing efforts are focused on newer versions.

Why Python 3.10: After Python 3.9 reaches end-of-life, RobotCode will start using Python 3.10+ features that are not backward-compatible. Python 3.10 introduces several important improvements, including: • Structural pattern matching • More informative error messages • Simplified type hints using the | operator • Performance enhancements

These capabilities enable cleaner, more efficient code and improved developer experience.

Recommendation: To get the most out of RobotCode, we recommend using: • Python 3.10 or newer • Robot Framework 5.0 or newer

Getting Started

Visual Studio Code

  1. Install the RobotCode Extension Open the Visual Studio Marketplace and install the RobotCode extension.

  2. Set Up Your Environment Configure your Robot Framework environment using the tools and commands provided by the extension or the robot.toml file.

  3. Start Testing Begin writing and running your Robot Framework tests directly in VS Code.

  4. Explore More Visit the Getting Started Guide for detailed setup instructions and advanced features.

Extensions: RobotCode automatically installs the Python and the Python Debugger extension. Additional extensions may be required depending on your project needs.

IntelliJ IDEA or PyCharm

  1. Install the RobotCode Plugin Choose one of the following methods to install the RobotCode plugin in your IDE:

    • Install via the Built-in Plugin Marketplace Navigate to: Settings/Preferences > Plugins > Marketplace > Search for "RobotCode" and click Install.

    • Use the JetBrains Marketplace Alternatively, install the plugin directly from the JetBrains Marketplace. Click the Install to ... button if your IDE is running.

    • Manual Installation Download the latest release and install it manually: Settings/Preferences > Plugins > ⚙️ > Install plugin from disk....

  2. Set Up Your Environment Configure your Robot Framework environment using the tools and commands provided by the plugin or the robot.toml file.

  3. Start Testing Begin developing and executing your Robot Framework tests.

  4. Explore More Visit the Getting Started Guide for detailed setup instructions and advanced features.

Plugins: RobotCode automatically installs the LSP4IJ. Additional plugins may be required depending on your project needs.

Documentation

For detailed instructions, visit our official documentation. Here are some additional resources to help you troubleshoot or learn more:

  • Q&A: Answers to common questions about RobotCode.
  • Troubleshooting Guide: Solutions for setup issues, performance problems, and debugging errors.
  • Command Line Tools Reference: Comprehensive documentation on using RobotCode’s CLI tools.
  • Changelog: Track changes, updates, and new features in each release.
  • Support: Learn how to get help and report issues.

License

This project is licensed under the Apache 2.0 License.


Powered by

JetBrains logo.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

robotcode-1.4.0.tar.gz (73.3 kB view details)

Uploaded Source

Built Distribution

robotcode-1.4.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robotcode-1.4.0.tar.gz
  • Upload date:
  • Size: 73.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for robotcode-1.4.0.tar.gz
Algorithm Hash digest
SHA256 7403775507d11d582477ffd24620bdf90acc793172a0bb986926a8d8e9c411a9
MD5 a8f0969d291f27bd4544189f59445f71
BLAKE2b-256 28333c4331652150ab358896242add437d38a41c9606b13cd55ed00df042386e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: robotcode-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for robotcode-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aed56bb92d7dd5829602f81686677f2a0a139e48e6da55b243fc97650f5cc677
MD5 a5aa44dad5be43f51cc20695c6bcabe4
BLAKE2b-256 03b89e7e63c672eadb758837e0119276959558a114915dd0bfaabd2d171228cf

See more details on using hashes here.

Supported by

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