ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Catkin Builder

by ZacharyTaylor ST3

Use catkin build in sublime text 3

Labels build system

Details

Installs

  • Total 627
  • Win 95
  • Mac 38
  • Linux 494
Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Catkin-Builder-Sublime

Use Catkin build in Sublime Text 3.

Screenshot

Prerequisites

Requires ROS (http://www.ros.org/) and Sublime Text 3

If you can open a terminal, cd to your ROS package directory and run “catkin build ” without issues, then this plugin should work.

Usage

Switch your build system in Sublime to Catkin by going to Tools -> Build system -> Catkin. Build your files using Ctrl+B or Ctrl+Shift+B for build options.

Can be called on any type of file that is in a Catkin Package.

If the build process generates errors, the first error encountered will be reprinted in a separate section below the other build errors. This behavior can be disabled (see the Options Section below).

Installing

Package Control (Recommended)

  1. If you don't already have it, install Package Control (https://packagecontrol.io/)
  2. Open the Command Palette by pressing ⌘+Shift+P on Mac or Ctrl+Shift+P on Windows
  3. Type in Package Control: Install Package and press Enter
  4. Type Catkin Builder and hit Enter

Manual install:

  1. Clone or download a zip of the repo.
  2. Open your Sublime Text package directory by going into Sublime and clicking on Preferences -> Browse Packages
  3. Place the files in a folder in the Sublime Text Packages folder.

Build Variants

  • Catkin: builds the package the file it is called from belongs to.
  • Catkin - build dependencies: Builds the package and all the packages it depends on.

Options

The Catkin.sublime-build script has several additional options that are set in the CatkinBuilder.sublime-settings file

  • color: Forces output to contain ANSI color information (will only display correctly if additional plugins that allow Sublime Text's build output to support ANSI color are present)
  • status-updates: On by default, provides status messages during building
  • trim_output: On by default, removes information about the workspace setup and other similar details from Catkins output
  • replace_q: On by default, an ugly workaround for an issue encountered with the output of Catkin. Some symbols appear as question marks in the output. This flag replaces all question marks including those that should appear in the text.
  • repeat_err: On by default, repeats the first error encountered at the end of the error message.

Known issues:

  • Catkin will return question marks to the script instead of some symbols. The current workaround for this is the replace_q flag that removes all question marks from the output.
  • Repeating error function is based on simple string matching and far from bulletproof.
  • Completely untested in anything that isn't Sublime Text 3 in Ubuntu 16.04, if you are run it on another OS let me know if it works or breaks
  • Coloring of output is based on very simple keyword matching