Use catkin build in sublime text 3
- Total 314
- Win 39
- OS X 19
- Linux 256
|Sep 24||Sep 23||Sep 22||Sep 21||Sep 20||Sep 19||Sep 18||Sep 17||Sep 16||Sep 15||Sep 14||Sep 13||Sep 12||Sep 11||Sep 10||Sep 9||Sep 8||Sep 7||Sep 6||Sep 5||Sep 4||Sep 3||Sep 2||Sep 1||Aug 31||Aug 30||Aug 29||Aug 28||Aug 27||Aug 26||Aug 25||Aug 24||Aug 23||Aug 22||Aug 21||Aug 20||Aug 19||Aug 18||Aug 17||Aug 16||Aug 15||Aug 14||Aug 13||Aug 12||Aug 11||Aug 10|
Use Catkin build in Sublime Text 3.
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.
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).
Package Control (Recommended)
- If you don't already have it, install Package Control (https://packagecontrol.io/)
- Open the Command Palette by pressing ⌘+Shift+P on Mac or Ctrl+Shift+P on Windows
- Type in Package Control: Install Package and press Enter
- Type Catkin Builder and hit Enter
- Clone or download a zip of the repo.
- Open your Sublime Text package directory by going into Sublime and clicking on Preferences -> Browse Packages
- Place the files in a folder in the Sublime Text Packages folder.
- 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.
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.
- 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