Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
Bryan Oakley edited this page May 25, 2015 · 13 revisions

The robot framework extension for brackets provides support for editing robot framework test cases in the plain text format (both pipe-separated and space-separated). Support for space-separated format was first made available in version 1.2.0.

This extension supports the following features:

Installation

To install the extension, open up the brackets extension manager and search for "robot framework mode". Click on the install button.

For code completion and quickdocs you need to install and run the robotframework hub. see https://github.com/boakley/robotframework-hub

Usage

In addition to syntax highllighting, this extension currently overrides the default behavior of the Tab key if it detects you are using the pipe-separated format. Instead of indenting a line of code, it will attempt to insert an appropriate number of spaces and pipes.

For example, if the cursor is at the beginning of a blank line, pressing tab will insert a single pipe and space. If you press tag again, you will get a second pipe and space. If you press Tab again, you will end up with "| | ... | ".

If you are at the end of a line, you can press tab to insert a pipe-space-pipe, making it easier to extend the current row. If you are at the end of a line that already has a space-pipe-space, pressing tab will remove this trailing pipe, then insert a newline and enough pipes and spaces and continuation characters to match the line you were just on.

This is an experimental feature. The goal is to be able to make editing more efficient, by letting you press tab rather than space-pipe-space, and to intelligently insert the appropriate number of pipes and spaces based on context.