Skip to content

[QUESTION] Is it possible set two spaces after three dots in .robot, .resource file? #508

@TomasJelinek-ext44181

Description

@TomasJelinek-ext44181

Please describe.
Having too long line of code. So I hit enter where I want to separet code on new line. I get ... (four spaces) on new line. I need just two spaces.

settings.json
{ "[robot]": { "editor.insertSpaces": true, "editor.tabSize": 2 }, "robot.formatting.provider": "none", "robot.codeFormatting.indentSize": 2, "robot.codeFormatting.separator": "space" }

pyproject.toml
[tool.robotidy] spacecount = 2 indent = 2 line_length = 116 configure = [ "MergeAndOrderSections: order=comments,settings,variables,keywords,testcases", "NormalizeAssignments: equal_sign_type = remove", "NormalizeAssignments: equal_sign_type_variables = remove", "NormalizeNewLines: section_lines = 1", "OrderSettingsSection: imports_order = library,resource,variables", "AlignSettingsSection: enabled = False", "AlignVariablesSection: enabled = False", "NormalizeTags: normalize_case = False", ]

VS code showint Spaces: 2 (for all indent using spaces, tabs)

Image Image

Desktop (please complete the following information):

  • VS Code Version 1.103.2
  • RobotCode Version 1.8.0
  • OS: Windows
  • Python Version 3.12.7
  • RobotFramework Version 7.0.1
  • Additional tools like robocop 5.5.0, robotidy 4.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions