robots.txt and .htaccess syntax highlight

Geo picture Geo · Jan 4, 2013 · Viewed 13.4k times · Source

Is there a way to colorcode/highlight robots.txt and .htaccess syntax? E.g. with a SublimeText2 plug-in. I found this, but can't figure out how to install it: https://github.com/shellderp/sublime-robot-plugin

Answer

joemaller picture joemaller · Jan 5, 2013

Use Package Control to install the syntax packages you want to use. If you're using Sublime Text without Package Control, you're missing out on a lot.

  1. Install Package Control (follow the linked instructions)
  2. After restarting, type Command+Shift+P then Install Package
  3. Install ApacheConf and the Robot Framework you mentioned

Packages can be added and removed very easily, but greatly enhance and personalize what you can do with Sublime Text.