{"id":20235121,"url":"https://github.com/kopoli/robot-mode","last_synced_at":"2025-11-28T09:04:48.183Z","repository":{"id":66929945,"uuid":"316767844","full_name":"kopoli/robot-mode","owner":"kopoli","description":"Emacs major mode for editing Robot Framework files.","archived":false,"fork":false,"pushed_at":"2024-07-21T10:23:40.000Z","size":43,"stargazers_count":8,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T00:43:19.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kopoli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-28T15:50:48.000Z","updated_at":"2024-07-21T10:23:17.000Z","dependencies_parsed_at":"2023-02-22T09:01:01.175Z","dependency_job_id":"431379e3-c736-4948-9667-012ebb5af0a4","html_url":"https://github.com/kopoli/robot-mode","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopoli%2Frobot-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopoli%2Frobot-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopoli%2Frobot-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopoli%2Frobot-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kopoli","download_url":"https://codeload.github.com/kopoli/robot-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241678154,"owners_count":20001682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T08:14:46.498Z","updated_at":"2025-11-28T09:04:43.164Z","avatar_url":"https://github.com/kopoli.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/kopoli/robot-mode\"\u003e\u003cimg src=\"https://www.gnu.org/software/emacs/images/emacs.png\" alt=\"Emacs Logo\" width=\"80\" height=\"80\" align=\"right\"\u003e\u003c/a\u003e\n## robot-mode.el\n*Major-mode for Robot Framework files*\n\n---\n[![License GPLv3](https://img.shields.io/badge/license-GPL_v3-green.svg)](http://www.gnu.org/licenses/gpl-3.0.html)\n[![MELPA](http://melpa.org/packages/robot-mode-badge.svg)](http://melpa.org/#/robot-mode)\n[![MELPA Stable](http://stable.melpa.org/packages/robot-mode-badge.svg)](http://stable.melpa.org/#/robot-mode)\n\n### Description\n\nA Robot Framework major mode for Emacs. Robot Framework is a framework for\nacceptance testing.\n\n- https://robotframework.org\n- https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html\n\nThis major mode provides the following:\n- Syntax highlighting.\n- Indentation.\n- Alignment of keyword contents.\n- Line continuation in Robot Framework syntax.\n- A helper for adding necessary spaces between arguments.\n\n#### Alignment of keyword contents\n\nAlign the contents of a keyword, test or task with C-c C-a. It changes the\nfollowing code:\n\n    Example Keyword\n        [Documentation]    Documents the keyword\n        [Arguments]    ${arg1}    ${arg2}\n        Log    ${arg1}            ${arg2}\n\nTo:\n\n    Example Keyword\n        [Documentation]    Documents the keyword\n        [Arguments]        ${arg1}    ${arg2}\n        Log                ${arg1}    ${arg2}\n\n#### Line continuation\n\nInsert a newline, indentation, ellipsis and necessary spaces at current\npoint with C-c C-j. For example (| denotes the cursor):\n\n    Another Keyword\n        [Documentation]    A very long text| that describes the keyword.\n\nTo:\n\n    Another Keyword\n        [Documentation]    A very long text\n        ...    |that describes the keyword.\n\n#### Add spacing for an argument\n\nRobot framework separates arguments to keywords with 2 or more spaces. The\nC-c C-SPC sets the whitespace amount around point to exactly\n`robot-mode-argument-separator`. For example (| denotes the cursor):\n\n    Example Keyword\n        [Arguments]    ${first}|${second}\n\nTo:\n\n    Example Keyword\n        [Arguments]    ${first}    |${second}\n\n### Limitations\n\n- Currently supports only the Space separated format:\n  https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#space-separated-format\n- Does NOT support the Pipe separated format or the reStructuredText\n  format.\n\n### Notable changes\n\nVersion 0.8.0\n\n- Add `robot-mode-retain-point-on-indent` option to retain point position\n  when indenting. Currently it is disabled by default, but may be enabled\n  in the future.\n- Prevent indent toggling from interfering with TAB completion when\n  `tab-always-indent` is set to 'complete and the above point retention is\n  used.\n- Fix several indent toggling bugs:\n  - Set `electric-indent-inhibit`.\n  - Disable when aligning by using variable `robot-mode-indent-toggle`.\n- Fix syntax highlighting and indentation when a control structure word is\n  the first word in a keyword.\n- Fix various other syntax highlighting bugs.\n\nVersion 0.7.0\n\n- Add control structure indentation (IF/WHILE/FOR/TRY etc.).\n\n\n\n### Customization Documentation\n\n#### `robot-mode-basic-offset`\n\nThe amount of indentation for test and keyword steps.\n\n#### `robot-mode-argument-separator`\n\nThe amount of spaces between different arguments to keywords.\n\n#### `robot-mode-retain-point-on-indent`\n\nIf the `point` position is after the indentation, retain it when\nindenting a line. Otherwise move `point` always `back-to-indentation`.\n\n### Function and Macro Documentation\n\n#### `(robot-mode-syntax-propertize START END)`\n\nPropertize text between START and END.\n\n#### `(robot-mode-indent-line)`\n\nIndent current line in Robot mode.\nUsed as `indent-line-function` of the mode.\n\n#### `(robot-mode-beginning-of-defun)`\n\nMove the point to the beginning of the current defun.\nDefuns are the steps of a keyword, test or task. This is used as\n`beginning-of-defun-function` of the mode.\n\n#### `(robot-mode-end-of-defun)`\n\nMove the point to the end of the current defun.\nDefuns are the steps of a keyword, test or task. This is used as\n`end-of-defun-function` of the mode.\n\n#### `(robot-mode-align BEG END)`\n\nAlign the contents of the region between BEG and END.\n\n#### `(robot-mode-align-defun)`\n\nAlign the contents current defun.\n\n#### `(robot-mode-align-region-or-defun)`\n\nCall `robot-mode-align` if region is active, otherwise `robot-mode-align-defun`.\n\n#### `(robot-mode-split-continuation)`\n\nSplit current line at point and continue in the next line.\nPrefix the continuation with indentation, ellipsis and spacing.\n\n#### `(robot-mode-add-argument)`\n\nAdd exactly `robot-mode-argument-separator` spaces to point.\n\n-----\n\u003cdiv style=\"padding-top:15px;color: #d0d0d0;\"\u003e\nMarkdown README file generated by\n\u003ca href=\"https://github.com/mgalgs/make-readme-markdown\"\u003emake-readme-markdown.el\u003c/a\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkopoli%2Frobot-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkopoli%2Frobot-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkopoli%2Frobot-mode/lists"}