SublimeText/LaTeXTools — pull request #92 by jlegewie (2012-10-15 01:58:54+00:00)
Title: adds comprehensive list of auto-completions when user types '\'

Hi,

this pull request adds a comprehensive list of auto-completions after the user types `\` to add a latex command. The completions are sorted by categories such as cite, ref, section, unnumbered section, list, text style, text size, paragraph, math, insert, formatting, tocs and some other functions. So to add a bulleted list, the user just types `\` (popup with completions appears), `l` (filters completions to only show three types of lists) and finally selects `list bulleted list` (which starts the snippet for a bulleted list). Or `\c` show different types of cite commands together with description such as `cite (author year)` for `\citep{}` and `cite (year)` for `citeyearpar{$1}`.

The list of completions are based on my own categorization so that you might want to check whether you a agree. It is pretty easy to add stuff to the list of completions and also to add support for math formulas in the `string.other.math` scope.

Note that the `latex.sublime-setting` file makes sure that typing `\` actually triggers the completion list AND also turn spell checking on for latex files.

Hope this is useful!