Releases: robotcodedev/robotcode
v1.3.0-dev.2
Bug Fixes
- cli: Corrected monkey patching for click>=8.2.0 (425e64d)
- textmate: Corrected highlightning of comments in variable section (5204afb)
- textmate: Enhance variable assignment handling (7333eb9)
- Corrected detection of robocop (f06bcbc)
Features
-
intellij: Reimplement and simplified parsing and syntax highlightning (2dcdf7c)
-
langserver: Better support for indexed assignments (6fad9b1)
-
Show editor hint for Python/Robot Framework issues instead of throwing error (4c2a43b)
When opening a Robot Framework file, issues related to the Python environment or Robot Framework version are now shown as an editor hint at the top of the file tab, instead of raising an exception.
Refactor
- intellij: Some code cleanup (479a9c3)
v1.2.0
Bug Fixes
-
intellij: Corrected handling of short by-longname argument (b5fa232)
-
intellij: Reenable semantic highlightning, because something has changed in the new LSP4IJ API (5cdf3c3)
-
Update IntelliJ platform version and plugin dependencies (e94c96b)
because of some new features regarding syntax highlightning and text mate the minimal supported version is PyCharm 2025.1
Features
v1.1.0
Bug Fixes
- analyze: Allow
all
also inrobot.toml
configuration forexit-code-mask
(a496714) - langserver: Corrected highlightning of embedded arguments if there is a namespace given before the keyword (0ce5446)
Documentation
Features
-
analyze: Exit code mask configuration for code analysis (4b677ad)
Configure which message types should not influence the exit code of
robotcode analyze code
, allowing granular control over CI/CD pipeline behavior or pre-commit hooks.Configuration File (
robot.toml
)[tool.robotcode-analyze.code] exit-code-mask = ["error", "warn"]
Command Line Options
robotcode analyze code --exit-code-mask error,warn # or -xm robotcode analyze code --extend-exit-code-mask info # or -xe
-
-xm
(or--exit-code-mask
) overwrites the configuration inrobot.toml
-
-xe
(or--extend-exit-code-mask
) extends the configuration inrobot.toml
-
Both options can be specified multiple times or with comma-separated values:
robotcode analyze code -xm error -xm warn # multiple options robotcode analyze code -xm error,warn # comma-separated
Behavior
- Message types in the mask are ignored when determining exit code
- Available types:
error
,warn
/warning
,info
/information
,hint
- Special value
all
ignores all message types (always exit code 0) - Without configuration, all message types affect the exit code
Example
# In robot.toml - Ignore warnings but let errors affect exit code [tool.robotcode-analyze.code] exit-code-mask = ["warn"]
# Using short options robotcode analyze code -xm error,hint # Overwrites robot.toml config robotcode analyze code -xe info -xe hint # Extends robot.toml config with multiple types robotcode analyze code -xm all # Always exit with code 0
-
-
vscode: Add configuration for output file display options (738d7a6)
Add "robotcode.run.openOutputTarget" setting to control how Robot Framework output files are displayed:
- simpleBrowser: in VSCode's built-in browser
- externalHttp: in default browser via HTTP protocol
- externalFile: in default browser via file system
The externalFile options may not run in remote development environments.
-
vscode: Use short CLI argument versions when calling robotcode (0987f55)
Refactor
- analyze: Move code analysing to it's own module (0123a50)
Testing
v1.0.3
Bug Fixes
- analyzer: Corrected handling of VAR statement for variable with equal sign (227d173)
- debugger: Ensure proper evaluation of variable expressions (6b90851)
- vscode: Correct handling of comments in keyword calls with return (c3c32bf)
Refactor
- debugger: Some code simplifications (b14877c)
Testing
- langserver: Update and add some tests (b47fc81)
v1.0.2
v1.0.1
v1.0.0
v0.109.6
v0.109.4
v0.109.3
Documentation
- Added an article about avoiding a global resource file (18327b6)
- Correct links (22af24d)
- Update the articel about avoiding global resource files (57f9209)
- Update the articel about avoiding global resource files (bd396fb)
- Add examples of good project structure and a small migration guide to avoiding global resources document (dfd495c)
- Update article about avoiding global resource files (87bd175)
- Rewrite index of tips&tricks (579e728)