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
- Code Navigation
- Diagnostics and Linting
- Code Formatting
- Running and Debugging
- Multi-root Workspace folders
- Find implementations and references of keywords, variables, libraries, resource and variable files
- Show codelenses for keyword definitions
- Test Explorer
- renaming keywords, variables, tags
Autocomplete and IntelliSense¶
Autocompletion for: - Libraries with parameters - Resources, - Variables - Keywords with parameters - Namespaces
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
- Goto definitions and implementations
- Find references
- 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.
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.
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.