Skip to content

[BUG] valid configuration in robocop.toml file will stop robocop linting in the UI. This was working before version 2.5.0 #592

@Odehnal

Description

@Odehnal

Since the version 2.5.0 robocop is not starting correctly

  1. Use the follow robocop configuration
  2. Check for known linting issues.

robocop.toml

# Files to include in linting
include = ["*.robot", "*.resource"]

[tool.robocop.lint]
# Rules to ignore (by rule ID or name)
ignore = [
    "missing-doc-keyword",  # Missing documentation in test cases
]
configure = [
    "line-too-long.line_length=150",
    "section-out-of-order.sections_order=comments,settings,variables,keywords,testcases"
]

What I found out, it is caused by
"section-out-of-order.sections_order=comments,settings,variables,keywords,testcases"

But this should be valid (was working before ;-) )

Desktop (please complete the following information):

  • RobotCode Version 2.5.1
  • OS: Windows
  • Python Version 3.13.7
  • RobotFramework Version 6.1.1
  • Additional tools: robocop

VSC:
Version: 1.114.0 (user setup)
Commit: e7fb5e96c0730b9deb70b33781f98e2f35975036
Date: 2026-04-01T09:27:11Z
Electron: 39.8.3
ElectronBuildId: 13658728
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26100

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions