8000 GitHub - robotcodedev/robotcode at d77c5fecf32fe547fba6db8c0dfb5150530e21a4
[go: up one dir, main page]

Skip to content

Open Source Toolkit for Robot Framework, providing Language Server Protocol support, Debugger, VSCode Extension, PyCharm Plugin and powerful CLI tools

License

Notifications You must be signed in to change notification settings

robotcodedev/robotcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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: Use Robocop's formatter for consistent code formatting.
  • 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.0 or newer
  • PyCharm 2025.1 or newer or IntelliJ IDEA 2025.1 or newer

Python and Robot Framework Version Requirements

Python Version Requirements: RobotCode requires Python 3.10 or newer. Python 3.8 and 3.9 are no longer supported as they have reached or are approaching end-of-life status. Python 3.10 provides several important improvements that enable cleaner, more efficient code: • Structural pattern matching • More informative error messages • Simplified type hints using the | operator • Performance enhancements

Robot Framework Version Requirements: RobotCode supports Robot Framework 5.0 or later. Older versions like Robot Framework 4.1 are no longer supported due to their outdated nature and the regular release cadence of Robot Framework.

Why These Requirements: Many key tools in the Robot Framework ecosystem—such as robocop and the Browser library—have already moved to similar requirements. This alignment ensures compatibility and allows RobotCode to leverage modern Python features for improved performance and 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 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 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 declares a dependency on LSP4IJ so your IDE installs it automatically. 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.

Support RobotCode

RobotCode is driven by the passion of its lead developer and the support of a growing community. To continue adding new features, improving stability, and expanding the ecosystem, your involvement is essential. Whether you contribute code, offer feedback, or provide financial support, you help shape the future of RobotCode.

Become a Sponsor:

Corporate Sponsorship:

Other Ways to Support:

License

This project is licensed under the Apache 2.0 License.


Powered by

Robot Framework Foundation

JetBrains

0