Integration with robotframework lint

Bryan Oakley edited this page Feb 3, 2015 · 1 revision

Starting with version 1.1.2 of the extension, brackets can now run robotframework-lint automatically via the standard linting mechanism (for example, every time you save a robot file).

To use robotframework-lint (or any tool with compatible output), you must define the robot preference robotframework.rflint-command to be the command to run rflint. This could be as simple as rflint if robotframework-lint is installed in your PATH, or you can add a complete command line such as /usr/local/bin/python -m rflint.

You can also supply custom arguments on the command line. For example, if you want to include an argument file you can specify that as well. For example rflint -A /home/me/rflint.args.

You can open the preferences file via the Menubar ("Open Preferences File" on the debug menu). You can also use the robot preferences dialog box by choosing "Robot Settings..." from the robot menu.